diff options
author | Stephen Hemminger <shemminger@osdl.org> | 2006-03-21 01:32:28 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2006-03-21 01:32:28 -0500 |
commit | 153330618691694af64f39fb56c9de051862380e (patch) | |
tree | 45ccb622bf0d13f6a0a663ba8af39f9dc2c9122e /drivers/net | |
parent | 2d0817d11eaec57435feb61493331a763f732a2b (diff) |
[NET]: dev_put/dev_hold cleanup
Get rid of the old __dev_put macro that is just a hold over from pre 2.6
kernel. And turn dev_hold into an inline instead of a macro.
Signed-off-by: Stephen Hemminger <shemminger@osdl.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
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)) |