diff options
Diffstat (limited to 'drivers/net/sfc/efx.c')
-rw-r--r-- | drivers/net/sfc/efx.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/net/sfc/efx.c b/drivers/net/sfc/efx.c index 35b3f2922e5c..ba674c5ca29e 100644 --- a/drivers/net/sfc/efx.c +++ b/drivers/net/sfc/efx.c | |||
@@ -1533,11 +1533,10 @@ static int efx_net_stop(struct net_device *net_dev) | |||
1533 | } | 1533 | } |
1534 | 1534 | ||
1535 | /* Context: process, dev_base_lock or RTNL held, non-blocking. */ | 1535 | /* Context: process, dev_base_lock or RTNL held, non-blocking. */ |
1536 | static struct rtnl_link_stats64 *efx_net_stats(struct net_device *net_dev) | 1536 | static struct rtnl_link_stats64 *efx_net_stats(struct net_device *net_dev, struct rtnl_link_stats64 *stats) |
1537 | { | 1537 | { |
1538 | struct efx_nic *efx = netdev_priv(net_dev); | 1538 | struct efx_nic *efx = netdev_priv(net_dev); |
1539 | struct efx_mac_stats *mac_stats = &efx->mac_stats; | 1539 | struct efx_mac_stats *mac_stats = &efx->mac_stats; |
1540 | struct rtnl_link_stats64 *stats = &net_dev->stats64; | ||
1541 | 1540 | ||
1542 | spin_lock_bh(&efx->stats_lock); | 1541 | spin_lock_bh(&efx->stats_lock); |
1543 | efx->type->update_stats(efx); | 1542 | efx->type->update_stats(efx); |