brcmsmac: remove brcms_pub->bcmerr
authorHauke Mehrtens <hauke@hauke-m.de>
Sun, 24 Mar 2013 00:45:56 +0000 (01:45 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 27 Mar 2013 17:37:35 +0000 (13:37 -0400)
This was a write only member

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/brcm80211/brcmsmac/main.c
drivers/net/wireless/brcm80211/brcmsmac/pub.h

index 056ca2cf2936abe08846302066b11e687fa84160..7e192955b5c990076c9d03777192a15889af9635 100644 (file)
@@ -4325,7 +4325,6 @@ static void brcms_c_info_init(struct brcms_c_info *wlc, int unit)
 
        /* WME QoS mode is Auto by default */
        wlc->pub->_ampdu = AMPDU_AGG_HOST;
-       wlc->pub->bcmerror = 0;
 }
 
 static uint brcms_c_attach_module(struct brcms_c_info *wlc)
index aa8580fe82bb2e2bff87394c981dfe237cea1a05..9dae59c1c13a8a02358cf3ed3806cbe385493b5a 100644 (file)
@@ -164,8 +164,6 @@ struct brcms_pub {
 
        u8 cur_etheraddr[ETH_ALEN];     /* our local ethernet address */
 
-       int bcmerror;           /* last bcm error */
-
        u32 radio_disabled;     /* bit vector for radio disabled reasons */
 
        u16 boardrev;   /* version # of particular board */