diff options
author | Andiry Xu <[email protected]> | 2011-01-06 15:43:17 +0800 |
---|---|---|
committer | Sarah Sharp <[email protected]> | 2011-03-13 18:07:09 -0700 |
commit | 019a35f1142b1cd153c8a38338515e633ec0cf77 (patch) | |
tree | a61347c56b71a62d9774d3012f7dd449b174674f /tools/perf/scripts/python/syscall-counts-by-pid.py | |
parent | 518e848ea8e2932ce18ce2daef8ad5f55a145f27 (diff) |
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 <[email protected]>
Signed-off-by: Sarah Sharp <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions