Skip to content

Commit bebee48

Browse files
Colin Ian Kinggregkh
authored andcommitted
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>
1 parent 6c7dbe3 commit bebee48

File tree

1 file changed

+0
-2
lines changed
  • drivers/usb/host/whci

1 file changed

+0
-2
lines changed

drivers/usb/host/whci/pzl.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,9 +96,7 @@ static enum whc_update pzl_process_qset(struct whc *whc, struct whc_qset *qset)
9696

9797
while (qset->ntds) {
9898
struct whc_qtd *td;
99-
int t;
10099

101-
t = qset->td_start;
102100
td = &qset->qtd[qset->td_start];
103101
status = le32_to_cpu(td->status);
104102

0 commit comments

Comments
 (0)