[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1458495292-17701-1-git-send-email-colin.king@canonical.com>
Date: Sun, 20 Mar 2016 17:34:52 +0000
From: Colin King <colin.king@...onical.com>
To: Brett Rudley <brudley@...adcom.com>,
Arend van Spriel <arend@...adcom.com>,
Franky Lin <frankyl@...adcom.com>,
Hante Meuleman <meuleman@...adcom.com>,
Kalle Valo <kvalo@...eaurora.org>,
Pieter-Paul Giesberts <pieterpg@...adcom.com>,
Vineet Gupta <Vineet.Gupta1@...opsys.com>,
Kosuke Tatsukawa <tatsu@...jp.nec.com>,
linux-wireless@...r.kernel.org, brcm80211-dev-list@...adcom.com,
netdev@...r.kernel.org
Cc: linux-kernel@...r.kernel.org
Subject: [PATCH] brcmfmac: sdio: remove unused variable retry_limit
From: Colin Ian King <colin.king@...onical.com>
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@...onical.com>
---
drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c | 3 ---
1 file changed, 3 deletions(-)
diff --git a/drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c b/drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c
index 43fd3f4..cd92ba7 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;
--
2.7.3
Powered by blists - more mailing lists