diff options
author | 2024-06-27 12:18:38 +0200 | |
---|---|---|
committer | 2024-07-02 14:26:57 +0100 | |
commit | 97a05cb4ab12f55e19cf28f6ceca47bb6ed8fea4 (patch) | |
tree | ef659d96f26fdeb45af2018ddcadb23b263596dd /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | ASoC: simple-audio-mux: add state-labels (diff) | |
download | wireguard-linux-97a05cb4ab12f55e19cf28f6ceca47bb6ed8fea4.tar.xz wireguard-linux-97a05cb4ab12f55e19cf28f6ceca47bb6ed8fea4.zip |
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 <amadeuszx.slawinski@linux.intel.com>
Link: https://patch.msgid.link/20240627101850.2191513-2-amadeuszx.slawinski@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions