On 3/26/21 11:59 PM, Pierre-Louis Bossart wrote: > 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; > ^ Thanks, Acked-by: Peter Ujfalusi <peter.ujfal...@gmail.com> > > Signed-off-by: Pierre-Louis Bossart <pierre-louis.boss...@linux.intel.com> > --- > sound/soc/ti/omap-abe-twl6040.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > 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 > -- Péter
- [PATCH 02/17] ASoC: atmel: fix shadowed variable Pierre-Louis Bossart
- Re: [PATCH 02/17] ASoC: atmel: fix shadowed vari... Codrin.Ciubotariu
- [PATCH 07/17] ASoC: pxa: remove useless assignment Pierre-Louis Bossart
- [PATCH 08/17] ASoC: sti: sti_uniperif: add missing er... Pierre-Louis Bossart
- RE: [PATCH 08/17] ASoC: sti: sti_uniperif: add m... Arnaud POULIQUEN
- [PATCH 09/17] ASoC: sti: uniperif: align function pro... Pierre-Louis Bossart
- RE: [PATCH 09/17] ASoC: sti: uniperif: align fun... Arnaud POULIQUEN
- [PATCH 13/17] ASoC: tegra: tegra20_das: align functio... Pierre-Louis Bossart
- Re: [PATCH 13/17] ASoC: tegra: tegra20_das: alig... Thierry Reding
- [PATCH 14/17] ASoC: ti: omap-abe-twl6040: remove usel... Pierre-Louis Bossart
- Re: [PATCH 14/17] ASoC: ti: omap-abe-twl6040: re... Péter Ujfalusi
- [PATCH 12/17] ASoC: tegra: tegra20_das: clarify expre... Pierre-Louis Bossart
- Re: [PATCH 12/17] ASoC: tegra: tegra20_das: clar... Thierry Reding
- [PATCH 10/17] ASoC: stm: stm32_adfsdm: fix snprintf f... Pierre-Louis Bossart
- [PATCH 11/17] ASoC: sunxi: sun8i-codec: clarify expre... Pierre-Louis Bossart
- Re: [PATCH 11/17] ASoC: sunxi: sun8i-codec: clar... Maxime Ripard
- [PATCH 17/17] ASoC: ux500: mop500: align function pro... Pierre-Louis Bossart
- [PATCH 15/17] ASoC: ti: omap-mcsp: remove duplicate t... Pierre-Louis Bossart
- Re: [PATCH 15/17] ASoC: ti: omap-mcsp: remove du... Péter Ujfalusi
- [PATCH 16/17] ASoC: ux500: mop500: rename shadowing v... Pierre-Louis Bossart