aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/flamegraph.py
diff options
context:
space:
mode:
authorHans de Goede <[email protected]>2023-05-11 19:53:16 +0100
committerMauro Carvalho Chehab <[email protected]>2023-06-09 14:47:04 +0100
commitbcc90bb31c819a7428ecd0604ce50553371fa278 (patch)
tree187f12bb46785ae905cb6df79f1ec2754533c3c6 /tools/perf/scripts/python/flamegraph.py
parent3fb3cd02d25b391a507cbc480361d4d27cbdfc21 (diff)
media: atomisp: Simplify atomisp_isr() and recovery_work()
Both atomisp_isr() and recovery_work() now have a combination of: 1. "if (!isp->asd.streaming) goto out;" code at the top 2. "if (sp->asd.streaming) {}" blocks in the body which are jumped over by the goto out. This means that the "if (sp->asd.streaming) {}" blocks are always executed if they are not jumped over by the goto. Remove the unnecessary "if (sp->asd.streaming)" checks and re-indent the code. Reviewed-by: Andy Shevchenko <[email protected]> Signed-off-by: Hans de Goede <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions