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)
commit2b1f18a4d6ae8057a93e736a34cdcca925279403
tree2d7321d5024871f8a90f597a384b1e8e831833b7
parentbdfd6304c8e2439fc047fafccf05f145004260bd
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