net/ethernet: remove useless is_valid_ether_addr from drivers ndo_open
authorJoachim Eastwood <manabian@gmail.com>
Fri, 16 Nov 2012 04:47:15 +0000 (04:47 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 20 Nov 2012 00:01:18 +0000 (19:01 -0500)
commitc867b55eb4831a493631205f2744b2e77ce0983b
treec8d603edb45c8b7e97ce765f908efa5d60f4d76d
parentae4b46e9d7128d2d76e6857fe0b9fc240e8ac695
net/ethernet: remove useless is_valid_ether_addr from drivers ndo_open

If ndo_validate_addr is set to the generic eth_validate_addr
function there is no point in calling is_valid_ether_addr
from driver ndo_open if ndo_open is not used elsewhere in
the driver.

With this change is_valid_ether_addr will be called from the
generic eth_validate_addr function. So there should be no change
in the actual behavior.

Signed-off-by: Joachim Eastwood <manabian@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
13 files changed:
drivers/net/ethernet/8390/etherh.c
drivers/net/ethernet/cadence/at91_ether.c
drivers/net/ethernet/cadence/macb.c
drivers/net/ethernet/dnet.c
drivers/net/ethernet/i825xx/ether1.c
drivers/net/ethernet/micrel/ks8695net.c
drivers/net/ethernet/nxp/lpc_eth.c
drivers/net/ethernet/seeq/ether3.c
drivers/net/ethernet/smsc/smc911x.c
drivers/net/ethernet/smsc/smc91x.c
drivers/net/ethernet/smsc/smsc911x.c
drivers/net/ethernet/wiznet/w5100.c
drivers/net/ethernet/wiznet/w5300.c