diff options
| author | Felipe Balbi <felipe.balbi@linux.intel.com> | 2017-01-23 14:20:07 +0200 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-01-25 10:59:06 +0100 |
| commit | 76a35293b901915c5dcb4a87a4a0da8d7caf39fe (patch) | |
| tree | abb5927b225221b907415b3a85368f92a8fd753d /tools/perf/scripts/python | |
| parent | usb: host: xhci: rename completion codes to match spec (diff) | |
| download | linux-76a35293b901915c5dcb4a87a4a0da8d7caf39fe.tar.gz linux-76a35293b901915c5dcb4a87a4a0da8d7caf39fe.zip | |
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>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
