OSDN Git Service

be2net: remove unused error variables
authorVenkat Duvvuru <venkatkumar.duvvuru@avagotech.com>
Wed, 30 Dec 2015 06:29:02 +0000 (01:29 -0500)
committerDavid S. Miller <davem@davemloft.net>
Wed, 30 Dec 2015 21:33:35 +0000 (16:33 -0500)
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>
drivers/net/ethernet/emulex/benet/be.h

index 93e5eab..0af32f1 100644 (file)
@@ -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;