Skip to contentSkip to conversation

igc: Remove unused MII_CR_SPEED

PATCH New Sasha Neftin 1 participant 1 message Jan 17, 2021

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

PATCH 1/1 igc: Remove unused MII_CR_SPEED

Force PHY speed not supported for i225 devices. MII_CR_SPEED masks not in use in i225 device and can be removed.

---
 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 58fc207dc995..c5b36ec7bcff 100644
@@ -442,9 +442,6 @@
 #define MII_CR_POWER_DOWN	0x0800  /* Power down */
 #define MII_CR_AUTO_NEG_EN	0x1000  /* Auto Neg Enable */
 #define MII_CR_LOOPBACK		0x4000  /* 0 = normal, 1 = loopback */
-#define MII_CR_SPEED_1000	0x0040
-#define MII_CR_SPEED_100	0x2000
-#define MII_CR_SPEED_10		0x0000
 
 /* PHY Status Register */
 #define MII_SR_LINK_STATUS	0x0004 /* Link Status 1 = link */
Signature · 1 line
2.25.1