diff options
Diffstat (limited to 'drivers/net/enic/enic_main.c')
-rw-r--r-- | drivers/net/enic/enic_main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/enic/enic_main.c b/drivers/net/enic/enic_main.c index 9befd54ce6e1..77d91381a74d 100644 --- a/drivers/net/enic/enic_main.c +++ b/drivers/net/enic/enic_main.c | |||
@@ -2834,7 +2834,7 @@ static void __devexit enic_remove(struct pci_dev *pdev) | |||
2834 | if (netdev) { | 2834 | if (netdev) { |
2835 | struct enic *enic = netdev_priv(netdev); | 2835 | struct enic *enic = netdev_priv(netdev); |
2836 | 2836 | ||
2837 | flush_scheduled_work(); | 2837 | cancel_work_sync(&enic->reset); |
2838 | unregister_netdev(netdev); | 2838 | unregister_netdev(netdev); |
2839 | enic_dev_deinit(enic); | 2839 | enic_dev_deinit(enic); |
2840 | vnic_dev_close(enic->vdev); | 2840 | vnic_dev_close(enic->vdev); |