Skip to contentSkip to conversation

igc: Remove unused MII_CR_LOOPBACK

PATCH New Sasha Neftin 2 participants 2 messages Feb 14, 2021 – Feb 21, 2021

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

PATCH 1/1 igc: Remove unused MII_CR_LOOPBACK

MII_CR_LOOPBACK masks not in use in i225 device and can be removed.

---
 drivers/net/ethernet/intel/igc/igc_defines.h | 1 -
 1 file changed, 1 deletion(-)
drivers/net/ethernet/intel/igc/igc_defines.h +0 -1
index c5b36ec7bcff..153561291166 100644
@@ -441,7 +441,6 @@
 #define MII_CR_RESTART_AUTO_NEG	0x0200  /* Restart auto negotiation */
 #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 */
 
 /* PHY Status Register */
 #define MII_SR_LINK_STATUS	0x0004 /* Link Status 1 = link */
Signature · 1 line
2.25.1
#1 lore raw

PATCH 1/1 igc: Remove unused MII_CR_LOOPBACK

Quoted 13 lines · Sasha Neftin

MII_CR_LOOPBACK masks not in use in i225 device and can be removed.

---
  drivers/net/ethernet/intel/igc/igc_defines.h | 1 -
  1 file changed, 1 deletion(-)
drivers/net/ethernet/intel/igc/igc_defines.h +0 -0
index c5b36ec7bcff..153561291166 100644

drivers/net/ethernet/intel/igc/igc_defines.h line 446

Quoted 7 lines
drivers/net/ethernet/intel/igc/igc_defines.h +0 -1
@@ -441,7 +441,6 @@
  #define MII_CR_RESTART_AUTO_NEG	0x0200  /* Restart auto negotiation */
  #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 */
 
  /* PHY Status Register */
  #define MII_SR_LINK_STATUS	0x0004 /* Link Status 1 = link */