summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorSasha Neftin <sasha.neftin@intel.com>2020-07-07 13:05:03 +0200
committerTony Nguyen <anthony.l.nguyen@intel.com>2020-07-27 17:49:32 +0200
commit4a9e9b8feed9513fb31d5d6db95a6633b93da77f (patch)
tree0c5bacdd54b950e4dddfbab94935bb4b49f27bb0 /drivers
parentigc: Remove ledctl_ fields from the mac_info structure (diff)
downloadlinux-4a9e9b8feed9513fb31d5d6db95a6633b93da77f.tar.xz
linux-4a9e9b8feed9513fb31d5d6db95a6633b93da77f.zip
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 <sasha.neftin@intel.com> Tested-by: Aaron Brown <aaron.f.brown@intel.com> Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/net/ethernet/intel/igc/igc_hw.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/net/ethernet/intel/igc/igc_hw.h b/drivers/net/ethernet/intel/igc/igc_hw.h
index 694c209657b1..4b3d0b0f917b 100644
--- a/drivers/net/ethernet/intel/igc/igc_hw.h
+++ b/drivers/net/ethernet/intel/igc/igc_hw.h
@@ -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;