summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/intel
diff options
context:
space:
mode:
authorSasha Neftin <sasha.neftin@intel.com>2022-07-18 12:50:15 +0300
committerTony Nguyen <anthony.l.nguyen@intel.com>2022-07-18 09:34:38 -0700
commit6ac0db3f2bf64a02f239421d7c44f9b45b077eee (patch)
treef3a7489ca982d24de3fa9748a907023d230fbc94 /drivers/net/ethernet/intel
parentfb24f341c7b977ca4d5993034ea9c5de9763446a (diff)
downloadlinux-6ac0db3f2bf64a02f239421d7c44f9b45b077eee.tar.gz
linux-6ac0db3f2bf64a02f239421d7c44f9b45b077eee.tar.bz2
linux-6ac0db3f2bf64a02f239421d7c44f9b45b077eee.zip
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. Signed-off-by: Sasha Neftin <sasha.neftin@intel.com> Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
Diffstat (limited to 'drivers/net/ethernet/intel')
-rw-r--r--drivers/net/ethernet/intel/igc/igc_hw.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/net/ethernet/intel/igc/igc_hw.h b/drivers/net/ethernet/intel/igc/igc_hw.h
index 360644f33d5f..88680e3d613d 100644
--- a/drivers/net/ethernet/intel/igc/igc_hw.h
+++ b/drivers/net/ethernet/intel/igc/igc_hw.h
@@ -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;