]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
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 93e5eab20e028150eb8c70689a3df2518016afc6..0af32f15007c6324c75fcbff10192550b1a2cdec 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;