aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/intel/igc/igc_main.c
diff options
context:
space:
mode:
authorSasha Neftin <[email protected]>2020-07-26 20:52:18 +0000
committerTony Nguyen <[email protected]>2020-07-27 15:49:32 +0000
commitdb02bee2ec1d74eb4b0ab48b3f995673d6faa3c6 (patch)
tree4bd0175335e3bceaddf50b6a85ef6b32641fd50d /drivers/net/ethernet/intel/igc/igc_main.c
parentigc: Clean up the mac_info structure (diff)
downloadkernel-db02bee2ec1d74eb4b0ab48b3f995673d6faa3c6.tar.gz
kernel-db02bee2ec1d74eb4b0ab48b3f995673d6faa3c6.zip
igc: Clean up the hw_stats structure
Remove ictxptc, ictxatc, cbtmpc, cbrdpc, cbrmpc and htcbdpc fields from the hw_stats structure. Accordance to the i225 device specification these fields not in use. This patch come to clean up the driver code. Signed-off-by: Sasha Neftin <[email protected]> Tested-by: Aaron Brown <[email protected]> Signed-off-by: Tony Nguyen <[email protected]>
Diffstat (limited to 'drivers/net/ethernet/intel/igc/igc_main.c')
-rw-r--r--drivers/net/ethernet/intel/igc/igc_main.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/net/ethernet/intel/igc/igc_main.c b/drivers/net/ethernet/intel/igc/igc_main.c
index d91fa4c06f2e..7a6f2a0d413f 100644
--- a/drivers/net/ethernet/intel/igc/igc_main.c
+++ b/drivers/net/ethernet/intel/igc/igc_main.c
@@ -3730,8 +3730,6 @@ void igc_update_stats(struct igc_adapter *adapter)
adapter->stats.tsctc += rd32(IGC_TSCTC);
adapter->stats.iac += rd32(IGC_IAC);
- adapter->stats.ictxptc += rd32(IGC_ICTXPTC);
- adapter->stats.ictxatc += rd32(IGC_ICTXATC);
/* Fill out the OS statistics structure */
net_stats->multicast = adapter->stats.mprc;