Skip to content

Commit 4a9e9b8

Browse files
aneftinanguy11
authored andcommitted
igc: Clean up the mac_info structure
collision_delta, tx_packet_delta, txcw, adaptive_ifs and has_fwsm fields not in use. This patch come to clean up the driver code. Signed-off-by: Sasha Neftin <[email protected]> Tested-by: Aaron Brown <[email protected]> Signed-off-by: Tony Nguyen <[email protected]>
1 parent 643e5c2 commit 4a9e9b8

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

drivers/net/ethernet/intel/igc/igc_hw.h

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -82,10 +82,7 @@ struct igc_mac_info {
8282

8383
enum igc_mac_type type;
8484

85-
u32 collision_delta;
8685
u32 mc_filter_type;
87-
u32 tx_packet_delta;
88-
u32 txcw;
8986

9087
u16 mta_reg_count;
9188
u16 uta_reg_count;
@@ -95,8 +92,6 @@ struct igc_mac_info {
9592

9693
u8 forced_speed_duplex;
9794

98-
bool adaptive_ifs;
99-
bool has_fwsm;
10095
bool asf_firmware_present;
10196
bool arc_subsystem_valid;
10297

0 commit comments

Comments
 (0)