commit | 76a35293b901915c5dcb4a87a4a0da8d7caf39fe | [log] [tgz] |
---|---|---|
author | Felipe Balbi <felipe.balbi@linux.intel.com> | Mon Jan 23 14:20:07 2017 +0200 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Wed Jan 25 10:59:06 2017 +0100 |
tree | abb5927b225221b907415b3a85368f92a8fd753d | |
parent | 0b7c105a04ca793acf5d39ff9bafebe89182fc6b [diff] |
usb: host: xhci: simplify irq handler return Instead of having several return points, let's use a local variable and a single place to return. This makes the code slightly easier to read. [set ret = IRQ_HANDLED in default working case -Mathias] 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>