diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2007-09-17 16:11:17 -0400 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2007-10-10 19:51:13 -0400 |
commit | 10d024c1b2fd58af8362670d7d6e5ae52fc33353 (patch) | |
tree | dbfb03c539986e2c1270385eb0083aaf0dfca8ab /drivers/s390/net | |
parent | 596c5c97431eab8465739c169401ea611127b9ad (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 'drivers/s390/net')
-rw-r--r-- | drivers/s390/net/claw.c | 1 | ||||
-rw-r--r-- | drivers/s390/net/ctcmain.c | 1 | ||||
-rw-r--r-- | drivers/s390/net/lcs.c | 1 | ||||
-rw-r--r-- | drivers/s390/net/netiucv.c | 1 | ||||
-rw-r--r-- | drivers/s390/net/qeth_main.c | 1 |
5 files changed, 0 insertions, 5 deletions
diff --git a/drivers/s390/net/claw.c b/drivers/s390/net/claw.c index 023455a0b34a..399695f7b1af 100644 --- a/drivers/s390/net/claw.c +++ b/drivers/s390/net/claw.c | |||
@@ -3891,7 +3891,6 @@ claw_init_netdevice(struct net_device * dev) | |||
3891 | dev->type = ARPHRD_SLIP; | 3891 | dev->type = ARPHRD_SLIP; |
3892 | dev->tx_queue_len = 1300; | 3892 | dev->tx_queue_len = 1300; |
3893 | dev->flags = IFF_POINTOPOINT | IFF_NOARP; | 3893 | dev->flags = IFF_POINTOPOINT | IFF_NOARP; |
3894 | SET_MODULE_OWNER(dev); | ||
3895 | #ifdef FUNCTRACE | 3894 | #ifdef FUNCTRACE |
3896 | printk(KERN_INFO "%s:%s Exit\n",dev->name,__FUNCTION__); | 3895 | printk(KERN_INFO "%s:%s Exit\n",dev->name,__FUNCTION__); |
3897 | #endif | 3896 | #endif |
diff --git a/drivers/s390/net/ctcmain.c b/drivers/s390/net/ctcmain.c index 92e8a37b5022..449937233732 100644 --- a/drivers/s390/net/ctcmain.c +++ b/drivers/s390/net/ctcmain.c | |||
@@ -2823,7 +2823,6 @@ ctc_init_netdevice(struct net_device * dev, int alloc_device, | |||
2823 | dev->type = ARPHRD_SLIP; | 2823 | dev->type = ARPHRD_SLIP; |
2824 | dev->tx_queue_len = 100; | 2824 | dev->tx_queue_len = 100; |
2825 | dev->flags = IFF_POINTOPOINT | IFF_NOARP; | 2825 | dev->flags = IFF_POINTOPOINT | IFF_NOARP; |
2826 | SET_MODULE_OWNER(dev); | ||
2827 | return dev; | 2826 | return dev; |
2828 | } | 2827 | } |
2829 | 2828 | ||
diff --git a/drivers/s390/net/lcs.c b/drivers/s390/net/lcs.c index 08a994fdd1a4..e4b11afbbc9f 100644 --- a/drivers/s390/net/lcs.c +++ b/drivers/s390/net/lcs.c | |||
@@ -2145,7 +2145,6 @@ lcs_new_device(struct ccwgroup_device *ccwgdev) | |||
2145 | card->dev->stop = lcs_stop_device; | 2145 | card->dev->stop = lcs_stop_device; |
2146 | card->dev->hard_start_xmit = lcs_start_xmit; | 2146 | card->dev->hard_start_xmit = lcs_start_xmit; |
2147 | card->dev->get_stats = lcs_getstats; | 2147 | card->dev->get_stats = lcs_getstats; |
2148 | SET_MODULE_OWNER(dev); | ||
2149 | memcpy(card->dev->dev_addr, card->mac, LCS_MAC_LENGTH); | 2148 | memcpy(card->dev->dev_addr, card->mac, LCS_MAC_LENGTH); |
2150 | #ifdef CONFIG_IP_MULTICAST | 2149 | #ifdef CONFIG_IP_MULTICAST |
2151 | if (!lcs_check_multicast_support(card)) | 2150 | if (!lcs_check_multicast_support(card)) |
diff --git a/drivers/s390/net/netiucv.c b/drivers/s390/net/netiucv.c index 268889474339..4d18d6419ddc 100644 --- a/drivers/s390/net/netiucv.c +++ b/drivers/s390/net/netiucv.c | |||
@@ -1904,7 +1904,6 @@ static void netiucv_setup_netdevice(struct net_device *dev) | |||
1904 | dev->type = ARPHRD_SLIP; | 1904 | dev->type = ARPHRD_SLIP; |
1905 | dev->tx_queue_len = NETIUCV_QUEUELEN_DEFAULT; | 1905 | dev->tx_queue_len = NETIUCV_QUEUELEN_DEFAULT; |
1906 | dev->flags = IFF_POINTOPOINT | IFF_NOARP; | 1906 | dev->flags = IFF_POINTOPOINT | IFF_NOARP; |
1907 | SET_MODULE_OWNER(dev); | ||
1908 | } | 1907 | } |
1909 | 1908 | ||
1910 | /** | 1909 | /** |
diff --git a/drivers/s390/net/qeth_main.c b/drivers/s390/net/qeth_main.c index f3e6fbeb2123..8c46978e0afa 100644 --- a/drivers/s390/net/qeth_main.c +++ b/drivers/s390/net/qeth_main.c | |||
@@ -6649,7 +6649,6 @@ qeth_netdev_init(struct net_device *dev) | |||
6649 | dev->mtu = card->info.initial_mtu; | 6649 | dev->mtu = card->info.initial_mtu; |
6650 | if (card->info.type != QETH_CARD_TYPE_OSN) | 6650 | if (card->info.type != QETH_CARD_TYPE_OSN) |
6651 | SET_ETHTOOL_OPS(dev, &qeth_ethtool_ops); | 6651 | SET_ETHTOOL_OPS(dev, &qeth_ethtool_ops); |
6652 | SET_MODULE_OWNER(dev); | ||
6653 | return 0; | 6652 | return 0; |
6654 | } | 6653 | } |
6655 | 6654 | ||