usb: host: oxu210hp-hcd: remove unused variable

The variable live was assigned the host controller running status but
it was never used or checked after that.

Signed-off-by: Sudip Mukherjee <sudip.mukherjee@codethink.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Sudip Mukherjee 2017-01-12 21:16:40 +00:00 committed by Greg Kroah-Hartman
parent 123b7b3081
commit 51c7629ed0

View File

@ -2288,9 +2288,7 @@ static void scan_periodic(struct oxu_hcd *oxu)
while (q.ptr != NULL) { while (q.ptr != NULL) {
union ehci_shadow temp; union ehci_shadow temp;
int live;
live = HC_IS_RUNNING(oxu_to_hcd(oxu)->state);
switch (type) { switch (type) {
case Q_TYPE_QH: case Q_TYPE_QH:
/* handle any completions */ /* handle any completions */