diff options
author | Jiri Pirko <jiri@resnulli.us> | 2013-01-07 20:38:26 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-01-08 21:00:48 -0500 |
commit | aaeb6cdfa5c07533c2cd6d2c381374c69f7db9dc (patch) | |
tree | f6d51541dbee2d6e1810fd7b5e44d149b1a01750 /drivers/net/ethernet/8390 | |
parent | 948b337e62ca96b6e7de06fdd5f6fe44769d7e9c (diff) |
remove init of dev->perm_addr in drivers
perm_addr is initialized correctly in register_netdevice() so to init it in
drivers is no longer needed.
Signed-off-by: Jiri Pirko <jiri@resnulli.us>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/8390')
-rw-r--r-- | drivers/net/ethernet/8390/ne2k-pci.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/ethernet/8390/ne2k-pci.c b/drivers/net/ethernet/8390/ne2k-pci.c index c0c127913dec..587a885de259 100644 --- a/drivers/net/ethernet/8390/ne2k-pci.c +++ b/drivers/net/ethernet/8390/ne2k-pci.c | |||
@@ -374,7 +374,6 @@ static int ne2k_pci_init_one(struct pci_dev *pdev, | |||
374 | NS8390_init(dev, 0); | 374 | NS8390_init(dev, 0); |
375 | 375 | ||
376 | memcpy(dev->dev_addr, SA_prom, dev->addr_len); | 376 | memcpy(dev->dev_addr, SA_prom, dev->addr_len); |
377 | memcpy(dev->perm_addr, dev->dev_addr, dev->addr_len); | ||
378 | 377 | ||
379 | i = register_netdev(dev); | 378 | i = register_netdev(dev); |
380 | if (i) | 379 | if (i) |