Skip to contentSkip to conversation

igc: Clean up the _mac_info structure

PATCH New Sasha Neftin 2 participants 2 messages Jul 7, 2020 – Jul 21, 2020

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

PATCH 1/1 igc: Clean up the _mac_info structure

collision_delta, tx_packet_delta, txcw, adaptive_ifs and fwsm fields not in use.
This patch come to clean up the driver code.

---
 drivers/net/ethernet/intel/igc/igc_hw.h | 5 -----
 1 file changed, 5 deletions(-)
drivers/net/ethernet/intel/igc/igc_hw.h +0 -5
index 8066749a55d0..24412a6c2289 100644
@@ -82,10 +82,7 @@ struct igc_mac_info {
 
 	enum igc_mac_type type;
 
-	u32 collision_delta;
 	u32 mc_filter_type;
-	u32 tx_packet_delta;
-	u32 txcw;
 
 	u16 mta_reg_count;
 	u16 uta_reg_count;
@@ -95,8 +92,6 @@ struct igc_mac_info {
 
 	u8 forced_speed_duplex;
 
-	bool adaptive_ifs;
-	bool has_fwsm;
 	bool asf_firmware_present;
 	bool arc_subsystem_valid;
 
Signature · 1 line
2.11.0
#1 lore raw

PATCH 1/1 igc: Clean up the _mac_info structure

Quoted 6 lines

From: Intel-wired-lan <[email protected]> On Behalf Of Sasha Neftin
Sent: Tuesday, July 7, 2020 4:05 AM
To: intel-wired-lan at lists.osuosl.org
Subject: [Intel-wired-lan] [PATCH v1 1/1] igc: Clean up the _mac_info structure

Quoted 9 lines

collision_delta, tx_packet_delta, txcw, adaptive_ifs and fwsm fields not in use.
This patch come to clean up the driver code.

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