summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/intel/igc/igc_mac.c
diff options
context:
space:
mode:
authorSasha Neftin <sasha.neftin@intel.com>2020-07-26 13:52:18 -0700
committerTony Nguyen <anthony.l.nguyen@intel.com>2020-07-27 08:49:32 -0700
commitdb02bee2ec1d74eb4b0ab48b3f995673d6faa3c6 (patch)
tree4bd0175335e3bceaddf50b6a85ef6b32641fd50d /drivers/net/ethernet/intel/igc/igc_mac.c
parent4a9e9b8feed9513fb31d5d6db95a6633b93da77f (diff)
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 <sasha.neftin@intel.com> Tested-by: Aaron Brown <aaron.f.brown@intel.com> Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
Diffstat (limited to 'drivers/net/ethernet/intel/igc/igc_mac.c')
-rw-r--r--drivers/net/ethernet/intel/igc/igc_mac.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/net/ethernet/intel/igc/igc_mac.c b/drivers/net/ethernet/intel/igc/igc_mac.c
index 02bbb8ac4f68..674b8ad21fea 100644
--- a/drivers/net/ethernet/intel/igc/igc_mac.c
+++ b/drivers/net/ethernet/intel/igc/igc_mac.c
@@ -296,9 +296,6 @@ void igc_clear_hw_cntrs_base(struct igc_hw *hw)
rd32(IGC_IAC);
- rd32(IGC_ICTXPTC);
- rd32(IGC_ICTXATC);
-
rd32(IGC_RPTHC);
rd32(IGC_TLPIC);
rd32(IGC_RLPIC);