Commit d9f0c8e4 authored by Sasha Neftin's avatar Sasha Neftin Committed by Tony Nguyen

igc: Remove unneeded variable

Though we are populating and tracking ictxqec, the value is not being used
for anything so remove it altogether and save the register read.
Signed-off-by: default avatarSasha Neftin <sasha.neftin@intel.com>
Tested-by: default avatarAaron Brown <aaron.f.brown@intel.com>
Signed-off-by: default avatarTony Nguyen <anthony.l.nguyen@intel.com>
parent a57066b1
......@@ -280,7 +280,6 @@ struct igc_hw_stats {
u64 icrxatc;
u64 ictxptc;
u64 ictxatc;
u64 ictxqec;
u64 ictxqmtc;
u64 icrxdmtc;
u64 icrxoc;
......
......@@ -301,7 +301,6 @@ void igc_clear_hw_cntrs_base(struct igc_hw *hw)
rd32(IGC_ICRXATC);
rd32(IGC_ICTXPTC);
rd32(IGC_ICTXATC);
rd32(IGC_ICTXQEC);
rd32(IGC_ICTXQMTC);
rd32(IGC_ICRXDMTC);
......
......@@ -3735,7 +3735,6 @@ void igc_update_stats(struct igc_adapter *adapter)
adapter->stats.icrxatc += rd32(IGC_ICRXATC);
adapter->stats.ictxptc += rd32(IGC_ICTXPTC);
adapter->stats.ictxatc += rd32(IGC_ICTXATC);
adapter->stats.ictxqec += rd32(IGC_ICTXQEC);
adapter->stats.ictxqmtc += rd32(IGC_ICTXQMTC);
adapter->stats.icrxdmtc += rd32(IGC_ICRXDMTC);
......
......@@ -63,7 +63,6 @@
#define IGC_ICRXATC 0x04108 /* Rx Absolute Timer Expire Count */
#define IGC_ICTXPTC 0x0410C /* Tx Packet Timer Expire Count */
#define IGC_ICTXATC 0x04110 /* Tx Absolute Timer Expire Count */
#define IGC_ICTXQEC 0x04118 /* Tx Queue Empty Count */
#define IGC_ICTXQMTC 0x0411C /* Tx Queue Min Threshold Count */
#define IGC_ICRXDMTC 0x04120 /* Rx Descriptor Min Threshold Count */
#define IGC_ICRXOC 0x04124 /* Receiver Overrun Count */
......@@ -184,7 +183,6 @@
#define IGC_IAC 0x04100 /* Interrupt Assertion Count */
#define IGC_ICTXPTC 0x0410C /* Interrupt Cause Tx Pkt Timer Expire Count */
#define IGC_ICTXATC 0x04110 /* Interrupt Cause Tx Abs Timer Expire Count */
#define IGC_ICTXQEC 0x04118 /* Interrupt Cause Tx Queue Empty Count */
#define IGC_ICTXQMTC 0x0411C /* Interrupt Cause Tx Queue Min Thresh Count */
#define IGC_RPTHC 0x04104 /* Rx Packets To Host */
#define IGC_TLPIC 0x04148 /* EEE Tx LPI Count */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment