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/3c509.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/3c509.c')
-rw-r--r-- | drivers/net/3c509.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/net/3c509.c b/drivers/net/3c509.c index 127f60841b10..7466987d8451 100644 --- a/drivers/net/3c509.c +++ b/drivers/net/3c509.c | |||
@@ -432,7 +432,6 @@ __again: | |||
432 | return -ENOMEM; | 432 | return -ENOMEM; |
433 | } | 433 | } |
434 | 434 | ||
435 | SET_MODULE_OWNER(dev); | ||
436 | SET_NETDEV_DEV(dev, &idev->dev); | 435 | SET_NETDEV_DEV(dev, &idev->dev); |
437 | pnp_cards++; | 436 | pnp_cards++; |
438 | 437 | ||
@@ -524,8 +523,6 @@ no_pnp: | |||
524 | if (!dev) | 523 | if (!dev) |
525 | return -ENOMEM; | 524 | return -ENOMEM; |
526 | 525 | ||
527 | SET_MODULE_OWNER(dev); | ||
528 | |||
529 | netdev_boot_setup_check(dev); | 526 | netdev_boot_setup_check(dev); |
530 | 527 | ||
531 | /* Set passed-in IRQ or I/O Addr. */ | 528 | /* Set passed-in IRQ or I/O Addr. */ |
@@ -644,7 +641,6 @@ static int __init el3_mca_probe(struct device *device) | |||
644 | return -ENOMEM; | 641 | return -ENOMEM; |
645 | } | 642 | } |
646 | 643 | ||
647 | SET_MODULE_OWNER(dev); | ||
648 | netdev_boot_setup_check(dev); | 644 | netdev_boot_setup_check(dev); |
649 | 645 | ||
650 | memcpy(dev->dev_addr, phys_addr, sizeof(phys_addr)); | 646 | memcpy(dev->dev_addr, phys_addr, sizeof(phys_addr)); |
@@ -704,8 +700,6 @@ static int __init el3_eisa_probe (struct device *device) | |||
704 | return -ENOMEM; | 700 | return -ENOMEM; |
705 | } | 701 | } |
706 | 702 | ||
707 | SET_MODULE_OWNER(dev); | ||
708 | |||
709 | netdev_boot_setup_check(dev); | 703 | netdev_boot_setup_check(dev); |
710 | 704 | ||
711 | memcpy(dev->dev_addr, phys_addr, sizeof(phys_addr)); | 705 | memcpy(dev->dev_addr, phys_addr, sizeof(phys_addr)); |