Skip to contentSkip to conversation

igc: Fix double definitions

PATCH New Sasha Neftin 2 participants 2 messages Apr 3, 2019 – Apr 10, 2019

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 igc: Fix double definitions

Collision threshold and threshold's shift has been defined twice. This patch comes to fix that.

---
 drivers/net/ethernet/intel/igc/igc_defines.h | 3 ---
 1 file changed, 3 deletions(-)
drivers/net/ethernet/intel/igc/igc_defines.h +0 -3
index a9a30268de59..6f17ed3de995 100644
@@ -264,9 +264,6 @@
 #define IGC_TCTL_RTLC		0x01000000 /* Re-transmit on late collision */
 #define IGC_TCTL_MULR		0x10000000 /* Multiple request support */
 
-#define IGC_CT_SHIFT			4
-#define IGC_COLLISION_THRESHOLD		15
-
 /* Flow Control Constants */
 #define FLOW_CONTROL_ADDRESS_LOW	0x00C28001
 #define FLOW_CONTROL_ADDRESS_HIGH	0x00000100
Signature · 1 line
2.11.0
#1 lore raw

PATCH 1/1 igc: Fix double definitions

Quoted 6 lines

From: Intel-wired-lan [mailto:intel-wired-lan-bounces at osuosl.org] On Behalf Of Sasha Neftin
Sent: Wednesday, April 3, 2019 6:58 AM
To: intel-wired-lan at lists.osuosl.org
Subject: [Intel-wired-lan] [PATCH v1 1/1] igc: Fix double definitions

Quoted 8 lines

Collision threshold and threshold's shift has been defined twice. This patch comes to fix that.

---
 drivers/net/ethernet/intel/igc/igc_defines.h | 3 ---
 1 file changed, 3 deletions(-)