Skip to contentSkip to conversation

igc: Remove unused phy type

PATCH New Sasha Neftin 3 participants 3 messages Oct 25, 2021 – Nov 4, 2021

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

PATCH 1/1 igc: Remove unused phy type

_phy_none type not in use. Clean up the code accordingly, and get rid of the unused enum line

---
 drivers/net/ethernet/intel/igc/igc_hw.h | 1 -
 1 file changed, 1 deletion(-)
drivers/net/ethernet/intel/igc/igc_hw.h +0 -1
index 587db7483f25..76832e55cbbb 100644
@@ -55,7 +55,6 @@ enum igc_mac_type {
 
 enum igc_phy_type {
 	igc_phy_unknown = 0,
-	igc_phy_none,
 	igc_phy_i225,
 };
 
Signature · 1 line
2.25.1
#1 lore raw

PATCH 1/1 igc: Remove unused phy type

Dear Sasha,

On 25.10.21 09:16, Sasha Neftin wrote:

Please add igc_phy_none to the summary to be as specific as possible.

Quoted 2 lines

_phy_none type not in use. Clean up the code accordingly, and get rid of the unused enum line

Please add a dot/period to the end of the sentence.

Quoted 10 lines
---
  drivers/net/ethernet/intel/igc/igc_hw.h | 1 -
  1 file changed, 1 deletion(-)
drivers/net/ethernet/intel/igc/igc_hw.h +0 -0
index 587db7483f25..76832e55cbbb 100644

drivers/net/ethernet/intel/igc/igc_hw.h enum igc_mac_type { · line 59

Quoted 6 lines
drivers/net/ethernet/intel/igc/igc_hw.h +0 -1
@@ -55,7 +55,6 @@ enum igc_mac_type {
 
  enum igc_phy_type {
  	igc_phy_unknown = 0,
-	igc_phy_none,
  	igc_phy_i225,
  };

Kind regards,

Paul

#2 lore raw

PATCH 1/1 igc: Remove unused phy type

In reply to Sasha Neftin
Quoted 13 lines · Sasha Neftin

_phy_none type not in use. Clean up the code accordingly, and get rid of the unused enum line

---
  drivers/net/ethernet/intel/igc/igc_hw.h | 1 -
  1 file changed, 1 deletion(-)
drivers/net/ethernet/intel/igc/igc_hw.h +0 -0
index 587db7483f25..76832e55cbbb 100644

drivers/net/ethernet/intel/igc/igc_hw.h enum igc_mac_type { · line 60

Quoted 7 lines
drivers/net/ethernet/intel/igc/igc_hw.h +0 -1
@@ -55,7 +55,6 @@ enum igc_mac_type {
 
  enum igc_phy_type {
  	igc_phy_unknown = 0,
-	igc_phy_none,
  	igc_phy_i225,
  };