From: Sudip Mukherjee Date: Thu, 12 Jan 2017 21:16:40 +0000 (+0000) Subject: usb: host: oxu210hp-hcd: remove unused variable X-Git-Tag: v5.15~11844^2~94 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=51c7629ed0096b6ab273135ea274e81797a8df51;p=platform%2Fkernel%2Flinux-starfive.git 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 Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/usb/host/oxu210hp-hcd.c b/drivers/usb/host/oxu210hp-hcd.c index 4e4d601..bcf531c 100644 --- a/drivers/usb/host/oxu210hp-hcd.c +++ b/drivers/usb/host/oxu210hp-hcd.c @@ -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 */