usb: host: isp1362-hcd: remove a couple of redundant assignments
authorColin Ian King <colin.king@canonical.com>
Tue, 7 Nov 2017 12:21:40 +0000 (12:21 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 7 Nov 2017 14:52:29 +0000 (15:52 +0100)
commit15dfeb6dee4a2ea60efe2f94c7c293ab4ba3cb30
treee0549eb9481a4347439ae0ae4d5cefbe71452ce5
parent8444efc4a052332d643ed5c8aebcca148c7de032
usb: host: isp1362-hcd: remove a couple of redundant assignments

Variable index is being initialized and the value is never read,
it is being updated a few statements later, so remove the redundant
initialization.  Variable total is being updated but the value is
never read, so this is also redundant and can be removed. Cleans
up two clang warnings:

drivers/usb/host/isp1362-hcd.c:715:6: warning: Value stored to
'index' during its initialization is never read
drivers/usb/host/isp1362-hcd.c:2254:2: warning: Value stored to
'total' 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/isp1362-hcd.c