projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6c7dbe3
)
USB: host: whci: remove redundant variable t
author
Colin Ian King
<colin.king@canonical.com>
Fri, 13 Jul 2018 09:43:01 +0000
(10:43 +0100)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Fri, 13 Jul 2018 13:41:56 +0000
(15:41 +0200)
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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/host/whci/pzl.c
patch
|
blob
|
history
diff --git
a/drivers/usb/host/whci/pzl.c
b/drivers/usb/host/whci/pzl.c
index bb84366f7bd398849de7b6665090edbce51271d3..ef52aeb02fde828363fd884047ce22c5b56a2db6 100644
(file)
--- 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);