Re: linux-next: build warning after merge of the sound-asoc tree

From: Doug Anderson
Date: Fri Aug 13 2021 - 10:35:42 EST


Hi,

On Thu, Aug 12, 2021 at 7:17 PM Stephen Rothwell <sfr@xxxxxxxxxxxxxxxx> wrote:
>
> Hi all,
>
> After merging the sound-asoc tree, today's linux-next build (x86_64
> allmodconfig) produced this warning:
>
> sound/soc/codecs/rt5682-i2c.c: In function 'rt5682_i2c_remove':
> sound/soc/codecs/rt5682-i2c.c:297:22: warning: unused variable 'rt5682' [-Wunused-variable]
> 297 | struct rt5682_priv *rt5682 = i2c_get_clientdata(client);
> | ^~~~~~
>
> Introduced by commit
>
> 772d44526e20 ("ASoC: rt5682: Properly turn off regulators if wrong device ID")

Thanks for the report. Fixed by:

https://lore.kernel.org/r/20210813073402.1.Iaa9425cfab80f5233afa78b32d02b6dc23256eb3@changeid