summaryrefslogtreecommitdiff
path: root/drivers/net/igb/e1000_hw.h
diff options
context:
space:
mode:
authorAlexander Duyck <alexander.h.duyck@intel.com>2009-02-07 02:21:51 +0300
committerDavid S. Miller <davem@davemloft.net>2009-02-07 13:43:15 +0300
commit8675737a9c1bf6c295461efc64898359398e1c82 (patch)
tree2a1c39034746580647050e9fa9e8c9eb039050f7 /drivers/net/igb/e1000_hw.h
parentfa4dfae0ce703976578015902025137d5e268501 (diff)
downloadlinux-8675737a9c1bf6c295461efc64898359398e1c82.tar.xz
igb: remove disable_av variable from mac_info struct
The disable_av variable is never used by the driver and provides no value as it is likely a leftover debugging variable. I have removed it and replaced the one spot that checked for it with a check for a valid address. Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/igb/e1000_hw.h')
-rw-r--r--drivers/net/igb/e1000_hw.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/igb/e1000_hw.h b/drivers/net/igb/e1000_hw.h
index 62ccd495356e..6d1564f43833 100644
--- a/drivers/net/igb/e1000_hw.h
+++ b/drivers/net/igb/e1000_hw.h
@@ -484,7 +484,6 @@ struct e1000_mac_info {
bool asf_firmware_present;
bool autoneg;
bool autoneg_failed;
- bool disable_av;
bool disable_hw_init_bits;
bool get_link_status;
bool ifs_params_forced;