aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net')
-rw-r--r--drivers/net/igb/igb_main.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/igb/igb_main.c b/drivers/net/igb/igb_main.c
index 00e2e8d30ba2..2a5303c311bc 100644
--- a/drivers/net/igb/igb_main.c
+++ b/drivers/net/igb/igb_main.c
@@ -1360,7 +1360,9 @@ static void __devexit igb_remove(struct pci_dev *pdev)
1360{ 1360{
1361 struct net_device *netdev = pci_get_drvdata(pdev); 1361 struct net_device *netdev = pci_get_drvdata(pdev);
1362 struct igb_adapter *adapter = netdev_priv(netdev); 1362 struct igb_adapter *adapter = netdev_priv(netdev);
1363#ifdef CONFIG_DCA
1363 struct e1000_hw *hw = &adapter->hw; 1364 struct e1000_hw *hw = &adapter->hw;
1365#endif
1364 1366
1365 /* flush_scheduled work may reschedule our watchdog task, so 1367 /* flush_scheduled work may reschedule our watchdog task, so
1366 * explicitly disable watchdog tasks from being rescheduled */ 1368 * explicitly disable watchdog tasks from being rescheduled */