diff options
author | Charles Keepax <[email protected]> | 2023-06-02 11:11:40 +0100 |
---|---|---|
committer | Vinod Koul <[email protected]> | 2023-06-08 17:09:11 +0530 |
commit | 0cbcced983e763f33c24a6834ed0d7c13152a0bb (patch) | |
tree | 95f5dea5764d84bf2eea04ff76cbf73b763b982b /scripts/generate_rust_analyzer.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 <[email protected]>
Reviewed-by: Pierre-Louis Bossart <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Vinod Koul <[email protected]>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions