Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 3d43e031 authored by Colin Ian King's avatar Colin Ian King Committed by Kalle Valo
Browse files

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: default avatarColin Ian King <colin.king@canonical.com>
Reviewed-by: default avatarJulian Calaby <julian.calaby@gmail.com>
Signed-off-by: default avatarKalle Valo <kvalo@codeaurora.org>
parent 8b4c0009
Loading
Loading
Loading
Loading
+0 −3
Original line number Diff line number Diff line
@@ -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;