commit | 750645f8a6543ff4deb4d98a0052000a31fdd43f | [log] [tgz] |
---|---|---|
author | Sarah Sharp <sarah.a.sharp@linux.intel.com> | Fri Sep 02 11:05:43 2011 -0700 |
committer | Greg Kroah-Hartman <gregkh@suse.de> | Fri Sep 09 15:52:53 2011 -0700 |
tree | c7fa8c9f5ec211012a7151384a5b8f4f8aaf8260 | |
parent | fe30182c2553f491e5dc12074c8e52163d3bfbc7 [diff] |
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>