summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/broadcom/brcm80211/brcmfmac
diff options
context:
space:
mode:
authorColin Ian King <colin.king@canonical.com>2016-03-20 20:34:52 +0300
committerKalle Valo <kvalo@codeaurora.org>2016-04-06 21:42:18 +0300
commit3d43e031840057f9609da3c546787f05cd6c5518 (patch)
tree320dde443fde040278f782ac789c29bb663eb80d /drivers/net/wireless/broadcom/brcm80211/brcmfmac
parent8b4c0009313f3d42e2540e3e1f776097dd0db73d (diff)
downloadlinux-3d43e031840057f9609da3c546787f05cd6c5518.tar.xz
brcmfmac: sdio: remove unused variable retry_limit
retry_limit has never been used during the life of this driver, so we may as well remove it as it is redundant. Signed-off-by: Colin Ian King <colin.king@canonical.com> Reviewed-by: Julian Calaby <julian.calaby@gmail.com> Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'drivers/net/wireless/broadcom/brcm80211/brcmfmac')
-rw-r--r--drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c b/drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c
index 43fd3f402eba..cd92ba77ecfd 100644
--- a/drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c
+++ b/drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c
@@ -535,9 +535,6 @@ static int qcount[NUMPRIO];
#define RETRYCHAN(chan) ((chan) == SDPCM_EVENT_CHANNEL)
-/* Retry count for register access failures */
-static const uint retry_limit = 2;
-
/* Limit on rounding up frames */
static const uint max_roundup = 512;