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/net/eepro.c | |
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/net/eepro.c')
-rw-r--r-- | drivers/net/eepro.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/net/eepro.c b/drivers/net/eepro.c index 47680237f783..6eb84f14c88d 100644 --- a/drivers/net/eepro.c +++ b/drivers/net/eepro.c | |||
@@ -537,8 +537,6 @@ static int __init do_eepro_probe(struct net_device *dev) | |||
537 | int base_addr = dev->base_addr; | 537 | int base_addr = dev->base_addr; |
538 | int irq = dev->irq; | 538 | int irq = dev->irq; |
539 | 539 | ||
540 | SET_MODULE_OWNER(dev); | ||
541 | |||
542 | #ifdef PnPWakeup | 540 | #ifdef PnPWakeup |
543 | /* XXXX for multiple cards should this only be run once? */ | 541 | /* XXXX for multiple cards should this only be run once? */ |
544 | 542 | ||
@@ -594,8 +592,6 @@ struct net_device * __init eepro_probe(int unit) | |||
594 | if (!dev) | 592 | if (!dev) |
595 | return ERR_PTR(-ENODEV); | 593 | return ERR_PTR(-ENODEV); |
596 | 594 | ||
597 | SET_MODULE_OWNER(dev); | ||
598 | |||
599 | sprintf(dev->name, "eth%d", unit); | 595 | sprintf(dev->name, "eth%d", unit); |
600 | netdev_boot_setup_check(dev); | 596 | netdev_boot_setup_check(dev); |
601 | 597 | ||