aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/sfc/ethtool.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/sfc/ethtool.c')
-rw-r--r--drivers/net/sfc/ethtool.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/sfc/ethtool.c b/drivers/net/sfc/ethtool.c
index abd8fcd6e62d..cd92c4d8dbc5 100644
--- a/drivers/net/sfc/ethtool.c
+++ b/drivers/net/sfc/ethtool.c
@@ -426,7 +426,7 @@ static void efx_ethtool_get_stats(struct net_device *net_dev,
426 EFX_BUG_ON_PARANOID(stats->n_stats != EFX_ETHTOOL_NUM_STATS); 426 EFX_BUG_ON_PARANOID(stats->n_stats != EFX_ETHTOOL_NUM_STATS);
427 427
428 /* Update MAC and NIC statistics */ 428 /* Update MAC and NIC statistics */
429 net_dev->get_stats(net_dev); 429 dev_get_stats(net_dev);
430 430
431 /* Fill detailed statistics buffer */ 431 /* Fill detailed statistics buffer */
432 for (i = 0; i < EFX_ETHTOOL_NUM_STATS; i++) { 432 for (i = 0; i < EFX_ETHTOOL_NUM_STATS; i++) {