USB: host: whci: remove redundant variable t
authorColin Ian King <colin.king@canonical.com>
Wed, 8 Nov 2017 13:46:36 +0000 (13:46 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 28 Nov 2017 14:08:43 +0000 (15:08 +0100)
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>
drivers/usb/host/whci/asl.c

index c5ac9ef..276fb34 100644 (file)
@@ -90,9 +90,7 @@ static uint32_t 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);