ixgbe: Add missing destroy_workqueue() on error in ixgbe_init_module()
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>
Tue, 12 Jul 2016 15:17:02 +0000 (15:17 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Fri, 22 Jul 2016 08:38:57 +0000 (01:38 -0700)
commit6b8368798772a4fabfec690be3b5f390c4bda600
tree450a800f0488b11cd14bb7d3d7f72100612c9f46
parent8e8247ab98315e096b812a68381ca812f0b0b5e3
ixgbe: Add missing destroy_workqueue() on error in ixgbe_init_module()

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

Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/ixgbe/ixgbe_main.c