Commit 8c8b0e99 authored by Jakub Kicinski's avatar Jakub Kicinski Committed by David S. Miller

nfp: remove unnecessary call to ether_setup()

ether_setup() will be invoked by alloc_etherdev_mqs(), no need
to call it again.
Signed-off-by: default avatarJakub Kicinski <jakub.kicinski@netronome.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 416db5c1
...@@ -2839,7 +2839,6 @@ int nfp_net_netdev_init(struct net_device *netdev) ...@@ -2839,7 +2839,6 @@ int nfp_net_netdev_init(struct net_device *netdev)
return err; return err;
/* Finalise the netdev setup */ /* Finalise the netdev setup */
ether_setup(netdev);
netdev->netdev_ops = &nfp_net_netdev_ops; netdev->netdev_ops = &nfp_net_netdev_ops;
netdev->watchdog_timeo = msecs_to_jiffies(5 * 1000); netdev->watchdog_timeo = msecs_to_jiffies(5 * 1000);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment