aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/net/ixgb/ixgb_main.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/ixgb/ixgb_main.c b/drivers/net/ixgb/ixgb_main.c
index c3234c451043..79082eb577c6 100644
--- a/drivers/net/ixgb/ixgb_main.c
+++ b/drivers/net/ixgb/ixgb_main.c
@@ -528,6 +528,8 @@ ixgb_remove(struct pci_dev *pdev)
528 struct net_device *netdev = pci_get_drvdata(pdev); 528 struct net_device *netdev = pci_get_drvdata(pdev);
529 struct ixgb_adapter *adapter = netdev_priv(netdev); 529 struct ixgb_adapter *adapter = netdev_priv(netdev);
530 530
531 flush_scheduled_work();
532
531 unregister_netdev(netdev); 533 unregister_netdev(netdev);
532 534
533 iounmap(adapter->hw.hw_addr); 535 iounmap(adapter->hw.hw_addr);