commit | c0e625c41abbcc12c4981823889e3dc126252fb5 | [log] [tgz] |
---|---|---|
author | Felipe Balbi <felipe.balbi@linux.intel.com> | Mon Jan 23 14:20:21 2017 +0200 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Wed Jan 25 11:00:01 2017 +0100 |
tree | 55483d2cd88944c8afe7e613a23946ed8667e283 | |
parent | 5abdc2e6e12ff040a218dc807be4c4d9866b265f [diff] |
usb: host: xhci: convert several if() to a single switch statement when getting endpoint type, a switch statement looks better than a series of if () branches. There are no functional changes with this patch, cleanup only. Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com> Signed-off-by: Mathias Nyman <mathias.nyman@linux.intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>