summaryrefslogtreecommitdiffstats
path: root/drivers/usb/host
diff options
context:
space:
mode:
authorColin Ian King <colin.king@canonical.com>2018-07-13 10:43:01 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-07-13 15:41:56 +0200
commitbebee48e7fd6e917b1625487342bfe3b3f5c1c56 (patch)
tree30afa65118a9f81f43e3df958459482c29627a72 /drivers/usb/host
parent6c7dbe36198e23099209cb2938f9675849fdde68 (diff)
downloadop-kernel-dev-bebee48e7fd6e917b1625487342bfe3b3f5c1c56.zip
op-kernel-dev-bebee48e7fd6e917b1625487342bfe3b3f5c1c56.tar.gz
USB: host: whci: remove redundant variable t
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>
Diffstat (limited to 'drivers/usb/host')
-rw-r--r--drivers/usb/host/whci/pzl.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/usb/host/whci/pzl.c b/drivers/usb/host/whci/pzl.c
index bb84366..ef52aeb 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);
OpenPOWER on IntegriCloud