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/hp100.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/hp100.c')
-rw-r--r-- | drivers/net/hp100.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/net/hp100.c b/drivers/net/hp100.c index 8caa591c5649..406d6525e222 100644 --- a/drivers/net/hp100.c +++ b/drivers/net/hp100.c | |||
@@ -404,8 +404,6 @@ struct net_device * __init hp100_probe(int unit) | |||
404 | if (!dev) | 404 | if (!dev) |
405 | return ERR_PTR(-ENODEV); | 405 | return ERR_PTR(-ENODEV); |
406 | 406 | ||
407 | SET_MODULE_OWNER(dev); | ||
408 | |||
409 | #ifdef HP100_DEBUG_B | 407 | #ifdef HP100_DEBUG_B |
410 | hp100_outw(0x4200, TRACE); | 408 | hp100_outw(0x4200, TRACE); |
411 | printk("hp100: %s: probe\n", dev->name); | 409 | printk("hp100: %s: probe\n", dev->name); |
@@ -2843,7 +2841,6 @@ static int __init hp100_eisa_probe (struct device *gendev) | |||
2843 | if (!dev) | 2841 | if (!dev) |
2844 | return -ENOMEM; | 2842 | return -ENOMEM; |
2845 | 2843 | ||
2846 | SET_MODULE_OWNER(dev); | ||
2847 | SET_NETDEV_DEV(dev, &edev->dev); | 2844 | SET_NETDEV_DEV(dev, &edev->dev); |
2848 | 2845 | ||
2849 | err = hp100_probe1(dev, edev->base_addr + 0xC38, HP100_BUS_EISA, NULL); | 2846 | err = hp100_probe1(dev, edev->base_addr + 0xC38, HP100_BUS_EISA, NULL); |
@@ -2896,7 +2893,6 @@ static int __devinit hp100_pci_probe (struct pci_dev *pdev, | |||
2896 | goto out0; | 2893 | goto out0; |
2897 | } | 2894 | } |
2898 | 2895 | ||
2899 | SET_MODULE_OWNER(dev); | ||
2900 | SET_NETDEV_DEV(dev, &pdev->dev); | 2896 | SET_NETDEV_DEV(dev, &pdev->dev); |
2901 | 2897 | ||
2902 | pci_read_config_word(pdev, PCI_COMMAND, &pci_command); | 2898 | pci_read_config_word(pdev, PCI_COMMAND, &pci_command); |
@@ -2993,7 +2989,6 @@ static int __init hp100_isa_init(void) | |||
2993 | 2989 | ||
2994 | return -ENOMEM; | 2990 | return -ENOMEM; |
2995 | } | 2991 | } |
2996 | SET_MODULE_OWNER(dev); | ||
2997 | 2992 | ||
2998 | err = hp100_isa_probe(dev, hp100_port[i]); | 2993 | err = hp100_isa_probe(dev, hp100_port[i]); |
2999 | if (!err) | 2994 | if (!err) |