aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/usb
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 /drivers/net/usb
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 'drivers/net/usb')
-rw-r--r--drivers/net/usb/kaweth.c2
-rw-r--r--drivers/net/usb/pegasus.c1
-rw-r--r--drivers/net/usb/rtl8150.c1
-rw-r--r--drivers/net/usb/usbnet.c1
4 files changed, 0 insertions, 5 deletions
diff --git a/drivers/net/usb/kaweth.c b/drivers/net/usb/kaweth.c
index 524dc5f5e46d..58a53a641754 100644
--- a/drivers/net/usb/kaweth.c
+++ b/drivers/net/usb/kaweth.c
@@ -1152,8 +1152,6 @@ err_fw:
1152 1152
1153 INIT_DELAYED_WORK(&kaweth->lowmem_work, kaweth_resubmit_tl); 1153 INIT_DELAYED_WORK(&kaweth->lowmem_work, kaweth_resubmit_tl);
1154 1154
1155 SET_MODULE_OWNER(netdev);
1156
1157 usb_set_intfdata(intf, kaweth); 1155 usb_set_intfdata(intf, kaweth);
1158 1156
1159#if 0 1157#if 0
diff --git a/drivers/net/usb/pegasus.c b/drivers/net/usb/pegasus.c
index 06838928ef47..432a2f054468 100644
--- a/drivers/net/usb/pegasus.c
+++ b/drivers/net/usb/pegasus.c
@@ -1321,7 +1321,6 @@ static int pegasus_probe(struct usb_interface *intf,
1321 pegasus->intf = intf; 1321 pegasus->intf = intf;
1322 pegasus->usb = dev; 1322 pegasus->usb = dev;
1323 pegasus->net = net; 1323 pegasus->net = net;
1324 SET_MODULE_OWNER(net);
1325 net->open = pegasus_open; 1324 net->open = pegasus_open;
1326 net->stop = pegasus_close; 1325 net->stop = pegasus_close;
1327 net->watchdog_timeo = PEGASUS_TX_TIMEOUT; 1326 net->watchdog_timeo = PEGASUS_TX_TIMEOUT;
diff --git a/drivers/net/usb/rtl8150.c b/drivers/net/usb/rtl8150.c
index 3b3a57ea2676..33cbc306226c 100644
--- a/drivers/net/usb/rtl8150.c
+++ b/drivers/net/usb/rtl8150.c
@@ -917,7 +917,6 @@ static int rtl8150_probe(struct usb_interface *intf,
917 917
918 dev->udev = udev; 918 dev->udev = udev;
919 dev->netdev = netdev; 919 dev->netdev = netdev;
920 SET_MODULE_OWNER(netdev);
921 netdev->open = rtl8150_open; 920 netdev->open = rtl8150_open;
922 netdev->stop = rtl8150_close; 921 netdev->stop = rtl8150_close;
923 netdev->do_ioctl = rtl8150_ioctl; 922 netdev->do_ioctl = rtl8150_ioctl;
diff --git a/drivers/net/usb/usbnet.c b/drivers/net/usb/usbnet.c
index 3034d1aea376..3542ca5fb0fa 100644
--- a/drivers/net/usb/usbnet.c
+++ b/drivers/net/usb/usbnet.c
@@ -1173,7 +1173,6 @@ usbnet_probe (struct usb_interface *udev, const struct usb_device_id *prod)
1173 init_timer (&dev->delay); 1173 init_timer (&dev->delay);
1174 mutex_init (&dev->phy_mutex); 1174 mutex_init (&dev->phy_mutex);
1175 1175
1176 SET_MODULE_OWNER (net);
1177 dev->net = net; 1176 dev->net = net;
1178 strcpy (net->name, "usb%d"); 1177 strcpy (net->name, "usb%d");
1179 memcpy (net->dev_addr, node_id, sizeof node_id); 1178 memcpy (net->dev_addr, node_id, sizeof node_id);