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/pcmcia | |
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/pcmcia')
-rw-r--r-- | drivers/net/pcmcia/3c589_cs.c | 1 | ||||
-rw-r--r-- | drivers/net/pcmcia/axnet_cs.c | 3 | ||||
-rw-r--r-- | drivers/net/pcmcia/fmvj18x_cs.c | 1 | ||||
-rw-r--r-- | drivers/net/pcmcia/nmclan_cs.c | 1 | ||||
-rw-r--r-- | drivers/net/pcmcia/pcnet_cs.c | 1 | ||||
-rw-r--r-- | drivers/net/pcmcia/smc91c92_cs.c | 1 | ||||
-rw-r--r-- | drivers/net/pcmcia/xirc2ps_cs.c | 1 |
7 files changed, 0 insertions, 9 deletions
diff --git a/drivers/net/pcmcia/3c589_cs.c b/drivers/net/pcmcia/3c589_cs.c index 503f2685fb73..2136c80c0581 100644 --- a/drivers/net/pcmcia/3c589_cs.c +++ b/drivers/net/pcmcia/3c589_cs.c | |||
@@ -197,7 +197,6 @@ static int tc589_probe(struct pcmcia_device *link) | |||
197 | link->conf.ConfigIndex = 1; | 197 | link->conf.ConfigIndex = 1; |
198 | 198 | ||
199 | /* The EL3-specific entries in the device structure. */ | 199 | /* The EL3-specific entries in the device structure. */ |
200 | SET_MODULE_OWNER(dev); | ||
201 | dev->hard_start_xmit = &el3_start_xmit; | 200 | dev->hard_start_xmit = &el3_start_xmit; |
202 | dev->set_config = &el3_config; | 201 | dev->set_config = &el3_config; |
203 | dev->get_stats = &el3_get_stats; | 202 | dev->get_stats = &el3_get_stats; |
diff --git a/drivers/net/pcmcia/axnet_cs.c b/drivers/net/pcmcia/axnet_cs.c index 50dff1b81d34..a9db59d2a2f1 100644 --- a/drivers/net/pcmcia/axnet_cs.c +++ b/drivers/net/pcmcia/axnet_cs.c | |||
@@ -1728,9 +1728,6 @@ static void axdev_setup(struct net_device *dev) | |||
1728 | if (ei_debug > 1) | 1728 | if (ei_debug > 1) |
1729 | printk(version_8390); | 1729 | printk(version_8390); |
1730 | 1730 | ||
1731 | SET_MODULE_OWNER(dev); | ||
1732 | |||
1733 | |||
1734 | ei_local = (struct ei_device *)netdev_priv(dev); | 1731 | ei_local = (struct ei_device *)netdev_priv(dev); |
1735 | spin_lock_init(&ei_local->page_lock); | 1732 | spin_lock_init(&ei_local->page_lock); |
1736 | 1733 | ||
diff --git a/drivers/net/pcmcia/fmvj18x_cs.c b/drivers/net/pcmcia/fmvj18x_cs.c index 85d5f2ca4bb5..7f29e95a0644 100644 --- a/drivers/net/pcmcia/fmvj18x_cs.c +++ b/drivers/net/pcmcia/fmvj18x_cs.c | |||
@@ -259,7 +259,6 @@ static int fmvj18x_probe(struct pcmcia_device *link) | |||
259 | link->conf.IntType = INT_MEMORY_AND_IO; | 259 | link->conf.IntType = INT_MEMORY_AND_IO; |
260 | 260 | ||
261 | /* The FMVJ18x specific entries in the device structure. */ | 261 | /* The FMVJ18x specific entries in the device structure. */ |
262 | SET_MODULE_OWNER(dev); | ||
263 | dev->hard_start_xmit = &fjn_start_xmit; | 262 | dev->hard_start_xmit = &fjn_start_xmit; |
264 | dev->set_config = &fjn_config; | 263 | dev->set_config = &fjn_config; |
265 | dev->get_stats = &fjn_get_stats; | 264 | dev->get_stats = &fjn_get_stats; |
diff --git a/drivers/net/pcmcia/nmclan_cs.c b/drivers/net/pcmcia/nmclan_cs.c index 997c2d0c83bb..1bb2ffa294de 100644 --- a/drivers/net/pcmcia/nmclan_cs.c +++ b/drivers/net/pcmcia/nmclan_cs.c | |||
@@ -474,7 +474,6 @@ static int nmclan_probe(struct pcmcia_device *link) | |||
474 | 474 | ||
475 | lp->tx_free_frames=AM2150_MAX_TX_FRAMES; | 475 | lp->tx_free_frames=AM2150_MAX_TX_FRAMES; |
476 | 476 | ||
477 | SET_MODULE_OWNER(dev); | ||
478 | dev->hard_start_xmit = &mace_start_xmit; | 477 | dev->hard_start_xmit = &mace_start_xmit; |
479 | dev->set_config = &mace_config; | 478 | dev->set_config = &mace_config; |
480 | dev->get_stats = &mace_get_stats; | 479 | dev->get_stats = &mace_get_stats; |
diff --git a/drivers/net/pcmcia/pcnet_cs.c b/drivers/net/pcmcia/pcnet_cs.c index 63de89e93b70..49857c1b5067 100644 --- a/drivers/net/pcmcia/pcnet_cs.c +++ b/drivers/net/pcmcia/pcnet_cs.c | |||
@@ -259,7 +259,6 @@ static int pcnet_probe(struct pcmcia_device *link) | |||
259 | link->conf.Attributes = CONF_ENABLE_IRQ; | 259 | link->conf.Attributes = CONF_ENABLE_IRQ; |
260 | link->conf.IntType = INT_MEMORY_AND_IO; | 260 | link->conf.IntType = INT_MEMORY_AND_IO; |
261 | 261 | ||
262 | SET_MODULE_OWNER(dev); | ||
263 | dev->open = &pcnet_open; | 262 | dev->open = &pcnet_open; |
264 | dev->stop = &pcnet_close; | 263 | dev->stop = &pcnet_close; |
265 | dev->set_config = &set_config; | 264 | dev->set_config = &set_config; |
diff --git a/drivers/net/pcmcia/smc91c92_cs.c b/drivers/net/pcmcia/smc91c92_cs.c index af6728cb49c3..b25f1985d03e 100644 --- a/drivers/net/pcmcia/smc91c92_cs.c +++ b/drivers/net/pcmcia/smc91c92_cs.c | |||
@@ -336,7 +336,6 @@ static int smc91c92_probe(struct pcmcia_device *link) | |||
336 | link->conf.IntType = INT_MEMORY_AND_IO; | 336 | link->conf.IntType = INT_MEMORY_AND_IO; |
337 | 337 | ||
338 | /* The SMC91c92-specific entries in the device structure. */ | 338 | /* The SMC91c92-specific entries in the device structure. */ |
339 | SET_MODULE_OWNER(dev); | ||
340 | dev->hard_start_xmit = &smc_start_xmit; | 339 | dev->hard_start_xmit = &smc_start_xmit; |
341 | dev->get_stats = &smc_get_stats; | 340 | dev->get_stats = &smc_get_stats; |
342 | dev->set_config = &s9k_config; | 341 | dev->set_config = &s9k_config; |
diff --git a/drivers/net/pcmcia/xirc2ps_cs.c b/drivers/net/pcmcia/xirc2ps_cs.c index 258d6f396186..d5c2d2c8c852 100644 --- a/drivers/net/pcmcia/xirc2ps_cs.c +++ b/drivers/net/pcmcia/xirc2ps_cs.c | |||
@@ -580,7 +580,6 @@ xirc2ps_probe(struct pcmcia_device *link) | |||
580 | link->irq.Instance = dev; | 580 | link->irq.Instance = dev; |
581 | 581 | ||
582 | /* Fill in card specific entries */ | 582 | /* Fill in card specific entries */ |
583 | SET_MODULE_OWNER(dev); | ||
584 | dev->hard_start_xmit = &do_start_xmit; | 583 | dev->hard_start_xmit = &do_start_xmit; |
585 | dev->set_config = &do_config; | 584 | dev->set_config = &do_config; |
586 | dev->get_stats = &do_get_stats; | 585 | dev->get_stats = &do_get_stats; |