mac80211: update brcmfmac including missing boardrev workaround
[openwrt.git] / package / kernel / mac80211 / patches / 347-brcmfmac-sdio-remove-unused-variable-retry_limit.patch
1 From: Colin Ian King <colin.king@canonical.com>
2 Date: Sun, 20 Mar 2016 17:34:52 +0000
3 Subject: [PATCH] brcmfmac: sdio: remove unused variable retry_limit
4
5 retry_limit has never been used during the life of this driver, so
6 we may as well remove it as it is redundant.
7
8 Signed-off-by: Colin Ian King <colin.king@canonical.com>
9 Reviewed-by: Julian Calaby <julian.calaby@gmail.com>
10 Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
11 ---
12
13 --- a/drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c
14 +++ b/drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c
15 @@ -535,9 +535,6 @@ static int qcount[NUMPRIO];
16  
17  #define RETRYCHAN(chan) ((chan) == SDPCM_EVENT_CHANNEL)
18  
19 -/* Retry count for register access failures */
20 -static const uint retry_limit = 2;
21 -
22  /* Limit on rounding up frames */
23  static const uint max_roundup = 512;
24