From: Andiry Xu Date: Thu, 6 Jan 2011 07:43:17 +0000 (+0800) Subject: xHCI: Remove redundant variable in xhci_resume() X-Git-Tag: v2.6.39-rc1~472^2~32 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=019a35f1142b1cd153c8a38338515e633ec0cf77;p=pandora-kernel.git xHCI: Remove redundant variable in xhci_resume() Set hcd->state = HC_STATE_SUSPENDED if there is a power loss during system resume or the system is hibernated, otherwise leave it be. The variable old_state is redundant and made an unreachable code path, so remove it. Signed-off-by: Andiry Xu Signed-off-by: Sarah Sharp --- Reading git-diff-tree failed