ASoC: codecs: wcd934x: remove redundant ret variable
authorSrinivas Kandagatla <srinivas.kandagatla@linaro.org>
Tue, 30 Nov 2021 16:05:05 +0000 (16:05 +0000)
committerMark Brown <broonie@kernel.org>
Wed, 1 Dec 2021 14:15:40 +0000 (14:15 +0000)
commitb80155fe61a76784273c2e7b8b15ae8249eb7440
tree075192fc31a55a1858564314a4838f1655228ddc
parent0d242698fa693ab8cb98c11ba7cf7fc8f7242c0b
ASoC: codecs: wcd934x: remove redundant ret variable

return value form snd_soc_dapm_put_enum_double() directly instead
of taking this in another redundant variable.

Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Link: https://lore.kernel.org/r/20211130160507.22180-3-srinivas.kandagatla@linaro.org
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/wcd934x.c