diff options
Diffstat (limited to 'drivers/net')
-rw-r--r-- | drivers/net/e1000/e1000_main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/e1000/e1000_main.c b/drivers/net/e1000/e1000_main.c index f39de16e6b97..49cd096a3c3d 100644 --- a/drivers/net/e1000/e1000_main.c +++ b/drivers/net/e1000/e1000_main.c | |||
@@ -920,7 +920,7 @@ e1000_remove(struct pci_dev *pdev) | |||
920 | unregister_netdev(netdev); | 920 | unregister_netdev(netdev); |
921 | #ifdef CONFIG_E1000_NAPI | 921 | #ifdef CONFIG_E1000_NAPI |
922 | for (i = 0; i < adapter->num_rx_queues; i++) | 922 | for (i = 0; i < adapter->num_rx_queues; i++) |
923 | __dev_put(&adapter->polling_netdev[i]); | 923 | dev_put(&adapter->polling_netdev[i]); |
924 | #endif | 924 | #endif |
925 | 925 | ||
926 | if (!e1000_check_phy_reset_block(&adapter->hw)) | 926 | if (!e1000_check_phy_reset_block(&adapter->hw)) |