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 commitsc706471b26
("net: axienet: remove unnecessary ether_setup after alloc_etherdev") and3c87dcbfb3
("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>
这个提交包含在:
@@ -943,7 +943,6 @@ static int w90p910_ether_setup(struct net_device *dev)
|
||||
{
|
||||
struct w90p910_ether *ether = netdev_priv(dev);
|
||||
|
||||
ether_setup(dev);
|
||||
dev->netdev_ops = &w90p910_ether_netdev_ops;
|
||||
dev->ethtool_ops = &w90p910_ether_ethtool_ops;
|
||||
|
||||
|
在新工单中引用
屏蔽一个用户