Skip to contentSkip to conversation

igc: Remove forced_speed_duplex value

PATCH In review Sasha Neftin 2 participants 2 messages Jul 18, 2022 – Jul 19, 2022

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

PATCH 1/1 igc: Remove forced_speed_duplex value

u8 forced_speed_duplex from value from igc_mac_info struct is not used. This patch comes to tidy up the driver code.

---
 drivers/net/ethernet/intel/igc/igc_hw.h | 2 --
 1 file changed, 2 deletions(-)
drivers/net/ethernet/intel/igc/igc_hw.h +0 -2
index 360644f33d5f..88680e3d613d 100644
@@ -89,8 +89,6 @@ struct igc_mac_info {
 	u32 mta_shadow[MAX_MTA_REG];
 	u16 rar_entry_count;
 
-	u8 forced_speed_duplex;
-
 	bool asf_firmware_present;
 	bool arc_subsystem_valid;
 
Signature · 6 lines
2.25.1

_______________________________________________
Intel-wired-lan mailing list
[email protected]
https://lists.osuosl.org/mailman/listinfo/intel-wired-lan
Tested-by on v1 1/1
#1 lore raw
Quoted 7 lines · Sasha Neftin

u8 forced_speed_duplex from value from igc_mac_info struct is not used. This patch comes to tidy up the driver code.

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

_______________________________________________
Intel-wired-lan mailing list
[email protected]
https://lists.osuosl.org/mailman/listinfo/intel-wired-lan