diff options
Diffstat (limited to 'drivers/net/ixgbevf/ixgbevf_main.c')
-rw-r--r-- | drivers/net/ixgbevf/ixgbevf_main.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/net/ixgbevf/ixgbevf_main.c b/drivers/net/ixgbevf/ixgbevf_main.c index 2216a3c8b12b..809e38ce8a13 100644 --- a/drivers/net/ixgbevf/ixgbevf_main.c +++ b/drivers/net/ixgbevf/ixgbevf_main.c | |||
@@ -3484,10 +3484,9 @@ static void __devexit ixgbevf_remove(struct pci_dev *pdev) | |||
3484 | 3484 | ||
3485 | del_timer_sync(&adapter->watchdog_timer); | 3485 | del_timer_sync(&adapter->watchdog_timer); |
3486 | 3486 | ||
3487 | cancel_work_sync(&adapter->reset_task); | ||
3487 | cancel_work_sync(&adapter->watchdog_task); | 3488 | cancel_work_sync(&adapter->watchdog_task); |
3488 | 3489 | ||
3489 | flush_scheduled_work(); | ||
3490 | |||
3491 | if (adapter->netdev_registered) { | 3490 | if (adapter->netdev_registered) { |
3492 | unregister_netdev(netdev); | 3491 | unregister_netdev(netdev); |
3493 | adapter->netdev_registered = false; | 3492 | adapter->netdev_registered = false; |