Messages in this thread Patch in this message | | | From | Colin King <> | Subject | [PATCH] USB: host: whci: remove redundant variable t | Date | Fri, 13 Jul 2018 10:43:01 +0100 |
| |
From: Colin Ian King <colin.king@canonical.com>
Variable t is being assigned but is never used hence it is redundant and can be removed.
Cleans up clang warning: warning: variable 't' set but not used [-Wunused-but-set-variable]
Signed-off-by: Colin Ian King <colin.king@canonical.com> --- drivers/usb/host/whci/pzl.c | 2 -- 1 file changed, 2 deletions(-)
diff --git a/drivers/usb/host/whci/pzl.c b/drivers/usb/host/whci/pzl.c index bb84366f7bd3..ef52aeb02fde 100644 --- a/drivers/usb/host/whci/pzl.c +++ b/drivers/usb/host/whci/pzl.c @@ -96,9 +96,7 @@ static enum whc_update pzl_process_qset(struct whc *whc, struct whc_qset *qset) while (qset->ntds) { struct whc_qtd *td; - int t; - t = qset->td_start; td = &qset->qtd[qset->td_start]; status = le32_to_cpu(td->status); -- 2.17.1
| |