aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/eepro.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/eepro.c')
-rw-r--r--drivers/net/eepro.c4
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