Commit 51c7629e authored by Sudip Mukherjee's avatar Sudip Mukherjee Committed by Greg Kroah-Hartman
Browse files

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: default avatarSudip Mukherjee <sudip.mukherjee@codethink.co.uk>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 123b7b30
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -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 */