aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv4/ipip.c
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2007-09-17 16:11:17 -0400
committerDavid S. Miller <davem@sunset.davemloft.net>2007-10-10 19:51:13 -0400
commit10d024c1b2fd58af8362670d7d6e5ae52fc33353 (patch)
treedbfb03c539986e2c1270385eb0083aaf0dfca8ab /net/ipv4/ipip.c
parent596c5c97431eab8465739c169401ea611127b9ad (diff)
[NET]: Nuke SET_MODULE_OWNER macro.
It's been a useless no-op for long enough in 2.6 so I figured it's time to remove it. The number of people that could object because they're maintaining unified 2.4 and 2.6 drivers is probably rather small. [ Handled drivers added by netdev tree and some missed IRDA cases... -DaveM ] Signed-off-by: Ralf Baechle <ralf@linux-mips.org> Signed-off-by: Jeff Garzik <jeff@garzik.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/ipip.c')
-rw-r--r--net/ipv4/ipip.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/net/ipv4/ipip.c b/net/ipv4/ipip.c
index 652bd86e33a3..5cd5bbe1379a 100644
--- a/net/ipv4/ipip.c
+++ b/net/ipv4/ipip.c
@@ -237,7 +237,6 @@ static struct ip_tunnel * ipip_tunnel_locate(struct ip_tunnel_parm *parms, int c
237 return NULL; 237 return NULL;
238 238
239 nt = netdev_priv(dev); 239 nt = netdev_priv(dev);
240 SET_MODULE_OWNER(dev);
241 dev->init = ipip_tunnel_init; 240 dev->init = ipip_tunnel_init;
242 nt->parms = *parms; 241 nt->parms = *parms;
243 242
@@ -775,7 +774,6 @@ static int ipip_tunnel_change_mtu(struct net_device *dev, int new_mtu)
775 774
776static void ipip_tunnel_setup(struct net_device *dev) 775static void ipip_tunnel_setup(struct net_device *dev)
777{ 776{
778 SET_MODULE_OWNER(dev);
779 dev->uninit = ipip_tunnel_uninit; 777 dev->uninit = ipip_tunnel_uninit;
780 dev->hard_start_xmit = ipip_tunnel_xmit; 778 dev->hard_start_xmit = ipip_tunnel_xmit;
781 dev->get_stats = ipip_tunnel_get_stats; 779 dev->get_stats = ipip_tunnel_get_stats;