usb: host: oxu210hp-hcd: remove unused variable
authorSudip Mukherjee <sudip.mukherjee@codethink.co.uk>
Thu, 12 Jan 2017 21:16:40 +0000 (21:16 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 19 Jan 2017 09:34:41 +0000 (10:34 +0100)
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>
drivers/usb/host/oxu210hp-hcd.c

index 4e4d601..bcf531c 100644 (file)
@@ -2288,9 +2288,7 @@ restart:
 
                while (q.ptr != NULL) {
                        union ehci_shadow temp;
-                       int live;
 
-                       live = HC_IS_RUNNING(oxu_to_hcd(oxu)->state);
                        switch (type) {
                        case Q_TYPE_QH:
                                /* handle any completions */