igc: Remove forced_speed_duplex value
authorSasha Neftin <sasha.neftin@intel.com>
Mon, 18 Jul 2022 09:50:15 +0000 (12:50 +0300)
committerTony Nguyen <anthony.l.nguyen@intel.com>
Mon, 18 Jul 2022 16:34:38 +0000 (09:34 -0700)
u8 forced_speed_duplex from value from igc_mac_info struct is not used.
This patch comes to tidy up the driver code.

Signed-off-by: Sasha Neftin <sasha.neftin@intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
drivers/net/ethernet/intel/igc/igc_hw.h

index 360644f33d5f0151422d2efa5cf2213ef5e344af..88680e3d613dd60597a424667086e97714bfc00b 100644 (file)
@@ -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;