net: ethernet: Remove superfluous ether_setup after alloc_etherdev
authorTobias Klauser <tklauser@distanz.ch>
Thu, 2 Oct 2014 08:15:30 +0000 (10:15 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 3 Oct 2014 22:31:40 +0000 (15:31 -0700)
commit6a05880a8b22c6ba2ffdabbceb4635d28abe9072
treeddfe9129a865ed13888fa91603c4326717435beb
parentc2bf5ec20488fb91af32f1c7f7c63f338ebacc9f
net: ethernet: Remove superfluous ether_setup after alloc_etherdev

There is no need to call ether_setup after alloc_ethdev since it was
already called there.

Follow commits c706471b2601 ("net: axienet: remove unnecessary
ether_setup after alloc_etherdev") and 3c87dcbfb36c ("net: ll_temac:
Remove unnecessary ether_setup after alloc_etherdev") and fix the
pattern in all remaining ethernet drivers.

Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
19 files changed:
drivers/net/ethernet/adi/bfin_mac.c
drivers/net/ethernet/allwinner/sun4i-emac.c
drivers/net/ethernet/altera/altera_tse_main.c
drivers/net/ethernet/cadence/at91_ether.c
drivers/net/ethernet/calxeda/xgmac.c
drivers/net/ethernet/davicom/dm9000.c
drivers/net/ethernet/ethoc.c
drivers/net/ethernet/lantiq_etop.c
drivers/net/ethernet/moxa/moxart_ether.c
drivers/net/ethernet/netx-eth.c
drivers/net/ethernet/nuvoton/w90p910_ether.c
drivers/net/ethernet/nxp/lpc_eth.c
drivers/net/ethernet/qualcomm/qca_spi.c
drivers/net/ethernet/smsc/smc911x.c
drivers/net/ethernet/smsc/smc91x.c
drivers/net/ethernet/smsc/smsc911x.c
drivers/net/ethernet/stmicro/stmmac/stmmac_main.c
drivers/net/ethernet/wiznet/w5100.c
drivers/net/ethernet/wiznet/w5300.c