aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/host/xhci-mem.c
diff options
context:
space:
mode:
authorSarah Sharp <sarah.a.sharp@linux.intel.com>2011-09-02 11:05:43 -0700
committerGreg Kroah-Hartman <gregkh@suse.de>2011-09-09 15:52:53 -0700
commit750645f8a6543ff4deb4d98a0052000a31fdd43f (patch)
treec7fa8c9f5ec211012a7151384a5b8f4f8aaf8260 /drivers/usb/host/xhci-mem.c
parentxhci: Rename virt_dev->port to fake_port. (diff)
downloadlinux-dev-750645f8a6543ff4deb4d98a0052000a31fdd43f.tar.xz
linux-dev-750645f8a6543ff4deb4d98a0052000a31fdd43f.zip
xhci: Refactor endpoint limit checking.
Move the code to check whether we've reached the host controller's limit on the number of endpoints out of the two conditional statements, to remove duplicate code. Signed-off-by: Sarah Sharp <sarah.a.sharp@linux.intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/host/xhci-mem.c')
0 files changed, 0 insertions, 0 deletions