summaryrefslogtreecommitdiff
path: root/mm
diff options
context:
space:
mode:
authorCharles Keepax <ckeepax@opensource.cirrus.com>2023-06-02 13:11:40 +0300
committerVinod Koul <vkoul@kernel.org>2023-06-08 14:39:11 +0300
commit0cbcced983e763f33c24a6834ed0d7c13152a0bb (patch)
tree95f5dea5764d84bf2eea04ff76cbf73b763b982b /mm
parente0240644e7cbb0fce4ea4e3fdcefdaa1a39eb9ea (diff)
downloadlinux-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 'mm')
0 files changed, 0 insertions, 0 deletions