mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-13 22:25:03 +00:00
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: Jakub Kicinski <jakub.kicinski@netronome.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
416db5c1e4
commit
8c8b0e99eb
1 changed files with 0 additions and 1 deletions
|
@ -2839,7 +2839,6 @@ int nfp_net_netdev_init(struct net_device *netdev)
|
|||
return err;
|
||||
|
||||
/* Finalise the netdev setup */
|
||||
ether_setup(netdev);
|
||||
netdev->netdev_ops = &nfp_net_netdev_ops;
|
||||
netdev->watchdog_timeo = msecs_to_jiffies(5 * 1000);
|
||||
|
||||
|
|
Loading…
Reference in a new issue