summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/emulex
diff options
context:
space:
mode:
authorVenkat Duvvuru <venkatkumar.duvvuru@avagotech.com>2015-12-30 09:29:02 +0300
committerDavid S. Miller <davem@davemloft.net>2015-12-31 00:33:35 +0300
commit04e888de2d72b587f81a18e42cb9af2c020ef63b (patch)
tree0b9fae22e5932132b3c7926d89b605b072839264 /drivers/net/ethernet/emulex
parentfdf81bfb7aab307146cdc33c1d741db324572ca3 (diff)
downloadlinux-04e888de2d72b587f81a18e42cb9af2c020ef63b.tar.xz
be2net: remove unused error variables
eeh_error, fw_timeout, hw_error variables in the be_adapter structure are not used anymore. An earlier patch that introduced adapter->err_flags to store this information missed removing these variables. Signed-off-by: Venkat Duvvuru <venkatkumar.duvvuru@avagotech.com> Signed-off-by: Sathya Perla <sathya.perla@avagotech.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/emulex')
-rw-r--r--drivers/net/ethernet/emulex/benet/be.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/net/ethernet/emulex/benet/be.h b/drivers/net/ethernet/emulex/benet/be.h
index 93e5eab20e02..0af32f15007c 100644
--- a/drivers/net/ethernet/emulex/benet/be.h
+++ b/drivers/net/ethernet/emulex/benet/be.h
@@ -547,10 +547,6 @@ struct be_adapter {
u32 beacon_state; /* for set_phys_id */
- bool eeh_error;
- bool fw_timeout;
- bool hw_error;
-
u32 port_num;
char port_name;
u8 mc_type;