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
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.
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>
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];
17 #define RETRYCHAN(chan) ((chan) == SDPCM_EVENT_CHANNEL)
19 -/* Retry count for register access failures */
20 -static const uint retry_limit = 2;
22 /* Limit on rounding up frames */
23 static const uint max_roundup = 512;