summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorFrans Klaver <frans.klaver@xsens.com>2015-01-14 09:15:41 +0100
committerSebastian Reichel <sre@kernel.org>2015-01-20 13:58:30 +0100
commit5c3faad29b266da015e3726cff6556df5c3cd9f5 (patch)
treef1c8a009fd4077eec507174728bb8336b67aae9d /tools/perf/scripts/python
parent0428c40d4c448f5dc63b0f76de14fa0affa7aa2f (diff)
power: reset: ltc2952: cleanup control flow in poweroff_handler
ltc2952_poweroff_handler uses gotos to return from the function. Since we don't do cleanups exiting this function, just return IRQ_HANDLED on the spot and be done with it. While at it, remove the variable 'ret'. It was never used very much. Signed-off-by: Frans Klaver <frans.klaver@xsens.com> Signed-off-by: Sebastian Reichel <sre@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions