aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv6
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/ipv6
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/ipv6')
-rw-r--r--net/ipv6/ip6_tunnel.c1
-rw-r--r--net/ipv6/sit.c1
2 files changed, 0 insertions, 2 deletions
diff --git a/net/ipv6/ip6_tunnel.c b/net/ipv6/ip6_tunnel.c
index 937625e577c1..2320cc27ff9e 100644
--- a/net/ipv6/ip6_tunnel.c
+++ b/net/ipv6/ip6_tunnel.c
@@ -1313,7 +1313,6 @@ ip6_tnl_change_mtu(struct net_device *dev, int new_mtu)
1313 1313
1314static void ip6_tnl_dev_setup(struct net_device *dev) 1314static void ip6_tnl_dev_setup(struct net_device *dev)
1315{ 1315{
1316 SET_MODULE_OWNER(dev);
1317 dev->uninit = ip6_tnl_dev_uninit; 1316 dev->uninit = ip6_tnl_dev_uninit;
1318 dev->destructor = free_netdev; 1317 dev->destructor = free_netdev;
1319 dev->hard_start_xmit = ip6_tnl_xmit; 1318 dev->hard_start_xmit = ip6_tnl_xmit;
diff --git a/net/ipv6/sit.c b/net/ipv6/sit.c
index e79f419b1731..466657a9a8bd 100644
--- a/net/ipv6/sit.c
+++ b/net/ipv6/sit.c
@@ -714,7 +714,6 @@ static int ipip6_tunnel_change_mtu(struct net_device *dev, int new_mtu)
714 714
715static void ipip6_tunnel_setup(struct net_device *dev) 715static void ipip6_tunnel_setup(struct net_device *dev)
716{ 716{
717 SET_MODULE_OWNER(dev);
718 dev->uninit = ipip6_tunnel_uninit; 717 dev->uninit = ipip6_tunnel_uninit;
719 dev->destructor = free_netdev; 718 dev->destructor = free_netdev;
720 dev->hard_start_xmit = ipip6_tunnel_xmit; 719 dev->hard_start_xmit = ipip6_tunnel_xmit;