Skip to content

Commit 51c7629

Browse files
Sudip Mukherjeegregkh
authored andcommitted
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 <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent 123b7b3 commit 51c7629

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

drivers/usb/host/oxu210hp-hcd.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2288,9 +2288,7 @@ static void scan_periodic(struct oxu_hcd *oxu)
22882288

22892289
while (q.ptr != NULL) {
22902290
union ehci_shadow temp;
2291-
int live;
22922291

2293-
live = HC_IS_RUNNING(oxu_to_hcd(oxu)->state);
22942292
switch (type) {
22952293
case Q_TYPE_QH:
22962294
/* handle any completions */

0 commit comments

Comments
 (0)