diff options
author | Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> | 2021-03-26 16:59:24 -0500 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2021-03-31 18:03:26 +0100 |
commit | 248d4dc9c3b8ced2cb274581d1c306e7ec617aec (patch) | |
tree | 86845e246685804e12c40c92d8ecea7684760684 /sound/soc/ti | |
parent | 53567ebce407639e3657b5c232bd60970a66f82c (diff) |
ASoC: ti: omap-abe-twl6040: remove useless assignment
cppcheck warning:
sound/soc/ti/omap-abe-twl6040.c:173: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>
Acked-by: Peter Ujfalusi <peter.ujfalusi@gmail.com>
Link: https://lore.kernel.org/r/20210326215927.936377-15-pierre-louis.bossart@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/ti')
-rw-r--r-- | sound/soc/ti/omap-abe-twl6040.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/ti/omap-abe-twl6040.c b/sound/soc/ti/omap-abe-twl6040.c index 16ea039ff865..91cc9a4f44d7 100644 --- a/sound/soc/ti/omap-abe-twl6040.c +++ b/sound/soc/ti/omap-abe-twl6040.c @@ -170,7 +170,7 @@ static int omap_abe_twl6040_init(struct snd_soc_pcm_runtime *rtd) struct snd_soc_card *card = rtd->card; struct abe_twl6040 *priv = snd_soc_card_get_drvdata(card); int hs_trim; - int ret = 0; + int ret; /* * Configure McPDM offset cancellation based on the HSOTRIM value from |