Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a7f7b44b authored by Tobias Klauser's avatar Tobias Klauser Committed by David S. Miller
Browse files

net: hip04: Remove superfluous ether_setup after alloc_etherdev



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

Signed-off-by: default avatarTobias Klauser <tklauser@distanz.ch>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent ab3a70be
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -897,7 +897,6 @@ static int hip04_mac_probe(struct platform_device *pdev)

	INIT_WORK(&priv->tx_timeout_task, hip04_tx_timeout_task);

	ether_setup(ndev);
	ndev->netdev_ops = &hip04_netdev_ops;
	ndev->ethtool_ops = &hip04_ethtool_ops;
	ndev->watchdog_timeo = TX_TIMEOUT;