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