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)
commit62bd431bac942c90d908b1681d04f0c577f6c70f
tree3c978f777ad79885d4d2aeb6f727221812ee07cf
parente8ee449bd7a45e871fc84fe51c773f7a6e68a02f
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