aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/check-perf-trace.py
diff options
context:
space:
mode:
authorAmadeusz Sławiński <[email protected]>2024-06-27 12:18:38 +0200
committerMark Brown <[email protected]>2024-07-02 14:26:57 +0100
commit97a05cb4ab12f55e19cf28f6ceca47bb6ed8fea4 (patch)
treeef659d96f26fdeb45af2018ddcadb23b263596dd /tools/perf/scripts/python/check-perf-trace.py
parenta893a804c6bb09336a217780c722b7d1c88357c6 (diff)
ASoC: topology: Simplify code
Instead of using goto, when there is no controls, just do a loop when there are. Overall the check seems to be a bit redundant as num_kcontrols will only be above 0 if kcontrols are set anyway, but let's keep it, while simplifying code. Signed-off-by: Amadeusz Sławiński <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions