aboutsummaryrefslogtreecommitdiff
path: root/virt/kvm
diff options
context:
space:
mode:
authorSarah Sharp <sarah.a.sharp@linux.intel.com>2010-12-15 11:56:29 -0800
committerSarah Sharp <sarah.a.sharp@linux.intel.com>2011-03-13 18:07:08 -0700
commit518e848ea8e2932ce18ce2daef8ad5f55a145f27 (patch)
tree623b2a258580f6fd28584d83c276c133ed423a15 /virt/kvm
parent1d5810b6923c76fc95e52d9d3491c91824c2f075 (diff)
xhci: Rename variables and reduce register reads.
The xhci_bus_suspend() and xhci_bus_resume() functions are a bit hard to read, because they have an ambiguously named variable "port". Rename it to "port_index". Introduce a new temporary variable, "max_ports" that holds the maximum number of roothub ports the host controller supports. This will reduce the number of register reads, and make it easy to change the maximum number of ports when there are two roothubs. Signed-off-by: Sarah Sharp <sarah.a.sharp@linux.intel.com>
Diffstat (limited to 'virt/kvm')
0 files changed, 0 insertions, 0 deletions