]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: atmel_ssc_dai: Remove the unneeded result variable
authorye xingchen <ye.xingchen@zte.com.cn>
Tue, 23 Aug 2022 07:53:35 +0000 (07:53 +0000)
committerMark Brown <broonie@kernel.org>
Tue, 23 Aug 2022 12:04:51 +0000 (13:04 +0100)
commit8c97a0a2a77c50a9493de52a938335c1027d54f1
tree3c978f777ad79885d4d2aeb6f727221812ee07cf
parent943760cca90cf2350e8df8b82d36f50bcbf71eea
ASoC: atmel_ssc_dai: Remove the unneeded result variable

Return the value from asoc_ssc_init() directly instead of storing it
in another redundant variable.

Reported-by: Zeal Robot <zealci@zte.com.cn>
Signed-off-by: ye xingchen <ye.xingchen@zte.com.cn>
Link: https://lore.kernel.org/r/20220823075335.209072-1-ye.xingchen@zte.com.cn
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/atmel/atmel_ssc_dai.c