]> git.baikalelectronics.ru Git - kernel.git/commit
qlcnic: add missing destroy_workqueue() on error path in qlcnic_probe()
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>
Tue, 8 Oct 2013 03:32:17 +0000 (11:32 +0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 8 Oct 2013 20:33:50 +0000 (16:33 -0400)
commitcd4761cf738a8ef6623897bfd3fee665c7e75a4d
tree2d7321d5024871f8a90f597a384b1e8e831833b7
parent38307185899b393c6f039f6f7c869ef5c5dfa0d9
qlcnic: add missing destroy_workqueue() on error path in qlcnic_probe()

Add the missing destroy_workqueue() before return from
qlcnic_probe() in the error handling case.

Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c