[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>
This commit is contained in:
committed by
David S. Miller
parent
596c5c9743
commit
10d024c1b2
@@ -1152,8 +1152,6 @@ err_fw:
|
||||
|
||||
INIT_DELAYED_WORK(&kaweth->lowmem_work, kaweth_resubmit_tl);
|
||||
|
||||
SET_MODULE_OWNER(netdev);
|
||||
|
||||
usb_set_intfdata(intf, kaweth);
|
||||
|
||||
#if 0
|
||||
|
||||
@@ -1321,7 +1321,6 @@ static int pegasus_probe(struct usb_interface *intf,
|
||||
pegasus->intf = intf;
|
||||
pegasus->usb = dev;
|
||||
pegasus->net = net;
|
||||
SET_MODULE_OWNER(net);
|
||||
net->open = pegasus_open;
|
||||
net->stop = pegasus_close;
|
||||
net->watchdog_timeo = PEGASUS_TX_TIMEOUT;
|
||||
|
||||
@@ -917,7 +917,6 @@ static int rtl8150_probe(struct usb_interface *intf,
|
||||
|
||||
dev->udev = udev;
|
||||
dev->netdev = netdev;
|
||||
SET_MODULE_OWNER(netdev);
|
||||
netdev->open = rtl8150_open;
|
||||
netdev->stop = rtl8150_close;
|
||||
netdev->do_ioctl = rtl8150_ioctl;
|
||||
|
||||
@@ -1173,7 +1173,6 @@ usbnet_probe (struct usb_interface *udev, const struct usb_device_id *prod)
|
||||
init_timer (&dev->delay);
|
||||
mutex_init (&dev->phy_mutex);
|
||||
|
||||
SET_MODULE_OWNER (net);
|
||||
dev->net = net;
|
||||
strcpy (net->name, "usb%d");
|
||||
memcpy (net->dev_addr, node_id, sizeof node_id);
|
||||
|
||||
Reference in New Issue
Block a user