ASoC: sti-sas: Remove the unneeded result variable
authorye xingchen <ye.xingchen@zte.com.cn>
Thu, 8 Sep 2022 01:03:04 +0000 (01:03 +0000)
committerMark Brown <broonie@kernel.org>
Thu, 8 Sep 2022 10:39:43 +0000 (11:39 +0100)
commitb075f21e533aa51c2bda87d86ddfb6a3c0e38a92
treed9614ab912d70d81854d79efe5bbfbb08f639a80
parent6ac246105b4fd737ed51b8ac3ef031f837686dee
ASoC: sti-sas: Remove the unneeded result variable

Return the value regmap_write() and sti_sas_init_sas_registers() 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/20220908010304.342760-1-ye.xingchen@zte.com.cn
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/sti-sas.c