diff options
author | Colin Ian King <colin.king@canonical.com> | 2016-03-20 13:34:52 -0400 |
---|---|---|
committer | Kalle Valo <kvalo@codeaurora.org> | 2016-04-06 14:42:18 -0400 |
commit | 3d43e031840057f9609da3c546787f05cd6c5518 (patch) | |
tree | 320dde443fde040278f782ac789c29bb663eb80d | |
parent | 8b4c0009313f3d42e2540e3e1f776097dd0db73d (diff) |
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>
-rw-r--r-- | drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c | 3 |
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]; | |||
535 | 535 | ||
536 | #define RETRYCHAN(chan) ((chan) == SDPCM_EVENT_CHANNEL) | 536 | #define RETRYCHAN(chan) ((chan) == SDPCM_EVENT_CHANNEL) |
537 | 537 | ||
538 | /* Retry count for register access failures */ | ||
539 | static const uint retry_limit = 2; | ||
540 | |||
541 | /* Limit on rounding up frames */ | 538 | /* Limit on rounding up frames */ |
542 | static const uint max_roundup = 512; | 539 | static const uint max_roundup = 512; |
543 | 540 | ||