projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
de96bd7
)
ASoC: mediatek: mt8183: delete some unreachable code
author
Dan Carpenter
<dan.carpenter@oracle.com>
Fri, 11 Dec 2020 10:10:11 +0000
(13:10 +0300)
committer
Mark Brown
<broonie@kernel.org>
Fri, 11 Dec 2020 13:23:02 +0000
(13:23 +0000)
This has a goto followed by an unreachable return statement. The goto
is correct because it cleans up so the current runtime behavior is fine.
Let's delete the unreachable return statement.
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Link:
https://lore.kernel.org/r/X9NFg3KVm16Gx6Io@mwanda
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/mediatek/mt8183/mt8183-afe-clk.c
patch
|
blob
|
history
diff --git
a/sound/soc/mediatek/mt8183/mt8183-afe-clk.c
b/sound/soc/mediatek/mt8183/mt8183-afe-clk.c
index 48e81c5d52fc27959d8b8215a1903764bf302fdd..cc4f8f4d3dab974888f1d6ce6d5fa264ae64a958 100644
(file)
--- a/
sound/soc/mediatek/mt8183/mt8183-afe-clk.c
+++ b/
sound/soc/mediatek/mt8183/mt8183-afe-clk.c
@@
-584,7
+584,6
@@
int mt8183_mck_enable(struct mtk_base_afe *afe, int mck_id, int rate)
__func__, aud_clks[div_clk_id],
rate, ret);
goto ERR_SET_MCLK_RATE;
- return ret;
}
return 0;