igc: Clean up the mac_info structure
authorSasha Neftin <sasha.neftin@intel.com>
Tue, 7 Jul 2020 11:05:03 +0000 (14:05 +0300)
committerTony Nguyen <anthony.l.nguyen@intel.com>
Mon, 27 Jul 2020 15:49:32 +0000 (08:49 -0700)
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 <sasha.neftin@intel.com>
Tested-by: Aaron Brown <aaron.f.brown@intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
drivers/net/ethernet/intel/igc/igc_hw.h

index 694c209657b1a824e8498642f48750f7d0f289cd..4b3d0b0f917be8febf52f002155c9802bfd7a6a9 100644 (file)
@@ -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;