diff options
author | Charles Keepax <ckeepax@opensource.cirrus.com> | 2023-06-02 13:11:40 +0300 |
---|---|---|
committer | Vinod Koul <vkoul@kernel.org> | 2023-06-08 14:39:11 +0300 |
commit | 0cbcced983e763f33c24a6834ed0d7c13152a0bb (patch) | |
tree | 95f5dea5764d84bf2eea04ff76cbf73b763b982b /tools/testing/selftests/bpf/prog_tests/async_stack_depth.c | |
parent | e0240644e7cbb0fce4ea4e3fdcefdaa1a39eb9ea (diff) | |
download | linux-0cbcced983e763f33c24a6834ed0d7c13152a0bb.tar.xz |
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/testing/selftests/bpf/prog_tests/async_stack_depth.c')
0 files changed, 0 insertions, 0 deletions