Skip to content

Commit

Permalink
nfp: remove unnecessary call to ether_setup()
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Jakub Kicinski authored and David S. Miller committed Nov 1, 2016
1 parent 416db5c commit 8c8b0e9
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion drivers/net/ethernet/netronome/nfp/nfp_net_common.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit 8c8b0e9

Please sign in to comment.