summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/event_analyzing_sample.py
diff options
context:
space:
mode:
authorHermes Wu <Hermes.wu@ite.com.tw>2026-09-30 14:41:33 +0800
committerHans Verkuil <hverkuil+cisco@kernel.org>2026-09-30 16:51:17 +0200
commit2f7dc82ea96ba8d092c5fc783ed394354e80ebfb (patch)
tree177d22e709542bd165375f5b5ed0d747f39fa374 /tools/perf/scripts/python/event_analyzing_sample.py
parent2a1247ebf80e3156fcbe7df3b3d892fede0fcf6e (diff)
media: i2c: it6625: use early returns in it6625_update_timings_if_changed()
Convert the if/else if/else chain that only ever assigns a single ret value to early returns. guard(mutex)(...) is scoped to the whole function body, so an early return still unlocks correctly. Signed-off-by: Hermes Wu <Hermes.wu@ite.com.tw> Signed-off-by: Hans Verkuil <hverkuil+cisco@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions