mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-16 00:34:20 +08:00
USB: host: whci: remove redundant variable t
Variable t is assigned but never read, it is redundant and therefore can be removed. Cleans up clang warning: drivers/usb/host/whci/asl.c:106:3: warning: Value stored to 't' is never read Signed-off-by: Colin Ian King <colin.king@canonical.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
2124c8881e
commit
8a4821d061
@ -90,9 +90,7 @@ static uint32_t process_qset(struct whc *whc, struct whc_qset *qset)
|
|||||||
|
|
||||||
while (qset->ntds) {
|
while (qset->ntds) {
|
||||||
struct whc_qtd *td;
|
struct whc_qtd *td;
|
||||||
int t;
|
|
||||||
|
|
||||||
t = qset->td_start;
|
|
||||||
td = &qset->qtd[qset->td_start];
|
td = &qset->qtd[qset->td_start];
|
||||||
status = le32_to_cpu(td->status);
|
status = le32_to_cpu(td->status);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user