brcmfmac: remove unused variable i from brcmf_usb_free_q

Variable i is not used so remove it.

Signed-off-by: Piotr Figiel <p.figiel@camlintechnologies.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
This commit is contained in:
Piotr Figiel 2019-03-08 15:25:09 +00:00 committed by Kalle Valo
parent 2b78e5f522
commit 504f06725d

View File

@ -449,13 +449,11 @@ static void brcmf_usb_free_q(struct list_head *q)
{
struct brcmf_usbreq *req, *next;
int i = 0;
list_for_each_entry_safe(req, next, q, list) {
if (!req->urb) {
brcmf_err("bad req\n");
break;
}
i++;
usb_free_urb(req->urb);
list_del_init(&req->list);
}