File tree Expand file tree Collapse file tree 1 file changed +0
-10
lines changed
drivers/net/ethernet/marvell/octeon_ep Expand file tree Collapse file tree 1 file changed +0
-10
lines changed Original file line number Diff line number Diff line change @@ -995,12 +995,6 @@ static void octep_get_stats64(struct net_device *netdev,
995
995
struct octep_device * oct = netdev_priv (netdev );
996
996
int q ;
997
997
998
- if (netif_running (netdev ))
999
- octep_ctrl_net_get_if_stats (oct ,
1000
- OCTEP_CTRL_NET_INVALID_VFID ,
1001
- & oct -> iface_rx_stats ,
1002
- & oct -> iface_tx_stats );
1003
-
1004
998
tx_packets = 0 ;
1005
999
tx_bytes = 0 ;
1006
1000
rx_packets = 0 ;
@@ -1018,10 +1012,6 @@ static void octep_get_stats64(struct net_device *netdev,
1018
1012
stats -> tx_bytes = tx_bytes ;
1019
1013
stats -> rx_packets = rx_packets ;
1020
1014
stats -> rx_bytes = rx_bytes ;
1021
- stats -> multicast = oct -> iface_rx_stats .mcast_pkts ;
1022
- stats -> rx_errors = oct -> iface_rx_stats .err_pkts ;
1023
- stats -> collisions = oct -> iface_tx_stats .xscol ;
1024
- stats -> tx_fifo_errors = oct -> iface_tx_stats .undflw ;
1025
1015
}
1026
1016
1027
1017
/**
You can’t perform that action at this time.
0 commit comments