aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/intel/igc/igc.h
diff options
context:
space:
mode:
authorSasha Neftin <[email protected]>2024-06-13 05:17:49 +0000
committerTony Nguyen <[email protected]>2024-07-11 17:58:00 +0000
commit1712c9ee36d1f7b00e89bcd9743c18ba00a47f42 (patch)
tree697501ffdf052caf8b4cddcb791b069de9368649 /drivers/net/ethernet/intel/igc/igc.h
parentice: remove eswitch rebuild (diff)
downloadkernel-1712c9ee36d1f7b00e89bcd9743c18ba00a47f42.tar.gz
kernel-1712c9ee36d1f7b00e89bcd9743c18ba00a47f42.zip
igc: Remove the internal 'eee_advert' field
Since the kernel's 'ethtool_keee' structure is in use, the internal 'eee_advert' field becomes pointless and can be removed. This patch comes to clean up this redundant code. Signed-off-by: Sasha Neftin <[email protected]> Tested-by: Mor Bar-Gabay <[email protected]> (A Contingent Worker at Intel) Signed-off-by: Tony Nguyen <[email protected]>
Diffstat (limited to 'drivers/net/ethernet/intel/igc/igc.h')
-rw-r--r--drivers/net/ethernet/intel/igc/igc.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/ethernet/intel/igc/igc.h b/drivers/net/ethernet/intel/igc/igc.h
index 8b14c029eda1..c38b4d0f00ce 100644
--- a/drivers/net/ethernet/intel/igc/igc.h
+++ b/drivers/net/ethernet/intel/igc/igc.h
@@ -202,7 +202,6 @@ struct igc_adapter {
struct net_device *netdev;
struct ethtool_keee eee;
- u16 eee_advert;
unsigned long state;
unsigned int flags;