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/arm | |
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/arm')
-rw-r--r-- | drivers/net/arm/at91_ether.c | 1 | ||||
-rw-r--r-- | drivers/net/arm/ether1.c | 1 | ||||
-rw-r--r-- | drivers/net/arm/ether3.c | 1 | ||||
-rw-r--r-- | drivers/net/arm/etherh.c | 1 |
4 files changed, 0 insertions, 4 deletions
diff --git a/drivers/net/arm/at91_ether.c b/drivers/net/arm/at91_ether.c index ef2cc80256a3..619810a01e5b 100644 --- a/drivers/net/arm/at91_ether.c +++ b/drivers/net/arm/at91_ether.c | |||
@@ -986,7 +986,6 @@ static int __init at91ether_setup(unsigned long phy_type, unsigned short phy_add | |||
986 | 986 | ||
987 | dev->base_addr = AT91_VA_BASE_EMAC; | 987 | dev->base_addr = AT91_VA_BASE_EMAC; |
988 | dev->irq = AT91RM9200_ID_EMAC; | 988 | dev->irq = AT91RM9200_ID_EMAC; |
989 | SET_MODULE_OWNER(dev); | ||
990 | 989 | ||
991 | /* Install the interrupt handler */ | 990 | /* Install the interrupt handler */ |
992 | if (request_irq(dev->irq, at91ether_interrupt, 0, dev->name, dev)) { | 991 | if (request_irq(dev->irq, at91ether_interrupt, 0, dev->name, dev)) { |
diff --git a/drivers/net/arm/ether1.c b/drivers/net/arm/ether1.c index 80f33b6d5713..6ec8a587c1d2 100644 --- a/drivers/net/arm/ether1.c +++ b/drivers/net/arm/ether1.c | |||
@@ -1009,7 +1009,6 @@ ether1_probe(struct expansion_card *ec, const struct ecard_id *id) | |||
1009 | goto release; | 1009 | goto release; |
1010 | } | 1010 | } |
1011 | 1011 | ||
1012 | SET_MODULE_OWNER(dev); | ||
1013 | SET_NETDEV_DEV(dev, &ec->dev); | 1012 | SET_NETDEV_DEV(dev, &ec->dev); |
1014 | 1013 | ||
1015 | dev->irq = ec->irq; | 1014 | dev->irq = ec->irq; |
diff --git a/drivers/net/arm/ether3.c b/drivers/net/arm/ether3.c index 3805506a3ab8..4a914748c0e4 100644 --- a/drivers/net/arm/ether3.c +++ b/drivers/net/arm/ether3.c | |||
@@ -789,7 +789,6 @@ ether3_probe(struct expansion_card *ec, const struct ecard_id *id) | |||
789 | goto release; | 789 | goto release; |
790 | } | 790 | } |
791 | 791 | ||
792 | SET_MODULE_OWNER(dev); | ||
793 | SET_NETDEV_DEV(dev, &ec->dev); | 792 | SET_NETDEV_DEV(dev, &ec->dev); |
794 | 793 | ||
795 | priv(dev)->base = ecardm_iomap(ec, ECARD_RES_MEMC, 0, 0); | 794 | priv(dev)->base = ecardm_iomap(ec, ECARD_RES_MEMC, 0, 0); |
diff --git a/drivers/net/arm/etherh.c b/drivers/net/arm/etherh.c index 0d37d9d1fd78..5d093b3ddcd4 100644 --- a/drivers/net/arm/etherh.c +++ b/drivers/net/arm/etherh.c | |||
@@ -661,7 +661,6 @@ etherh_probe(struct expansion_card *ec, const struct ecard_id *id) | |||
661 | goto release; | 661 | goto release; |
662 | } | 662 | } |
663 | 663 | ||
664 | SET_MODULE_OWNER(dev); | ||
665 | SET_NETDEV_DEV(dev, &ec->dev); | 664 | SET_NETDEV_DEV(dev, &ec->dev); |
666 | 665 | ||
667 | dev->open = etherh_open; | 666 | dev->open = etherh_open; |