aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/usb
diff options
context:
space:
mode:
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);