aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorFelipe Balbi <[email protected]>2017-01-23 14:20:07 +0200
committerGreg Kroah-Hartman <[email protected]>2017-01-25 10:59:06 +0100
commit76a35293b901915c5dcb4a87a4a0da8d7caf39fe (patch)
treeabb5927b225221b907415b3a85368f92a8fd753d /tools/perf/scripts/python
parent0b7c105a04ca793acf5d39ff9bafebe89182fc6b (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 <[email protected]> Signed-off-by: Mathias Nyman <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions