path: root/drivers/net/ethernet/lantiq_etop.c
diff options
authorTobias Klauser <>2014-10-02 10:15:30 +0200
committerDavid S. Miller <>2014-10-03 15:31:40 -0700
commit6a05880a8b22c6ba2ffdabbceb4635d28abe9072 (patch)
treeddfe9129a865ed13888fa91603c4326717435beb /drivers/net/ethernet/lantiq_etop.c
parentc2bf5ec20488fb91af32f1c7f7c63f338ebacc9f (diff)
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 <> Acked-by: Nicolas Ferre <> Signed-off-by: David S. Miller <>
Diffstat (limited to 'drivers/net/ethernet/lantiq_etop.c')
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/ethernet/lantiq_etop.c b/drivers/net/ethernet/lantiq_etop.c
index fd4b6aecf6ee..2dad4d5047ba 100644
--- a/drivers/net/ethernet/lantiq_etop.c
+++ b/drivers/net/ethernet/lantiq_etop.c
@@ -633,7 +633,6 @@ ltq_etop_init(struct net_device *dev)
int err;
bool random_mac = false;
- ether_setup(dev);
dev->watchdog_timeo = 10 * HZ;
err = ltq_etop_hw_init(dev);
if (err)