ASoC: mt6359-accdet.c: remove useless assignments
authorPierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Wed, 4 Aug 2021 19:24:55 +0000 (14:24 -0500)
committerMark Brown <broonie@kernel.org>
Thu, 5 Aug 2021 14:38:54 +0000 (15:38 +0100)
commitc18abd00333b8b4c6432f4a6789aa02e3b18fdc8
tree2c4b9fd6c300f896e29f2d08f7bd0e8cd8e25c53
parent221034aca4fdcf8a6552267d2d3aa6825fae29b1
ASoC: mt6359-accdet.c: remove useless assignments

cppcheck warnings (and additional issue found by code inspection)

sound/soc/codecs/mt6359-accdet.c:464:10: style: Variable 'ret' is
assigned a value that is never used. [unreadVariable]
 int ret = 0;
         ^

Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Link: https://lore.kernel.org/r/20210804192456.278702-3-pierre-louis.bossart@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/mt6359-accdet.c