浏览代码

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>
Sudip Mukherjee 8 年之前
父节点
当前提交
51c7629ed0
共有 1 个文件被更改,包括 0 次插入2 次删除
  1. 0 2
      drivers/usb/host/oxu210hp-hcd.c

+ 0 - 2
drivers/usb/host/oxu210hp-hcd.c

@@ -2288,9 +2288,7 @@ restart:
 
 
 		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 */