diff options
author | Charles Keepax <ckeepax@opensource.cirrus.com> | 2023-06-02 11:11:40 +0100 |
---|---|---|
committer | Vinod Koul <vkoul@kernel.org> | 2023-06-08 17:09:11 +0530 |
commit | 0cbcced983e763f33c24a6834ed0d7c13152a0bb (patch) | |
tree | 95f5dea5764d84bf2eea04ff76cbf73b763b982b /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | e0240644e7cbb0fce4ea4e3fdcefdaa1a39eb9ea (diff) |
soundwire: stream: Remove unnecessary gotos
There is a lot of code using gotos to skip small sections of code, this
is a fairly dubious use of a goto, especially when the level of
intentation is really low. Most of this code doesn't even breach 80
characters when naively shifted over.
Simplify the code a bit, by replacing these unnecessary gotos with
simple ifs.
Signed-off-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Link: https://lore.kernel.org/r/20230602101140.2040141-5-ckeepax@opensource.cirrus.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions