summaryrefslogtreecommitdiffstats
path: root/net/ipv4/igmp.c
diff options
context:
space:
mode:
authorStephen Hemminger <shemminger@osdl.org>2006-03-20 22:32:28 -0800
committerDavid S. Miller <davem@davemloft.net>2006-03-20 22:32:28 -0800
commit153330618691694af64f39fb56c9de051862380e (patch)
tree45ccb622bf0d13f6a0a663ba8af39f9dc2c9122e /net/ipv4/igmp.c
parent2d0817d11eaec57435feb61493331a763f732a2b (diff)
downloadop-kernel-dev-153330618691694af64f39fb56c9de051862380e.zip
op-kernel-dev-153330618691694af64f39fb56c9de051862380e.tar.gz
[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 'net/ipv4/igmp.c')
-rw-r--r--net/ipv4/igmp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv4/igmp.c b/net/ipv4/igmp.c
index 3ec502f1..d512239 100644
--- a/net/ipv4/igmp.c
+++ b/net/ipv4/igmp.c
@@ -1382,7 +1382,7 @@ static struct in_device * ip_mc_find_dev(struct ip_mreqn *imr)
dev = ip_dev_find(imr->imr_address.s_addr);
if (!dev)
return NULL;
- __dev_put(dev);
+ dev_put(dev);
}
if (!dev && !ip_route_output_key(&rt, &fl)) {
OpenPOWER on IntegriCloud