linux-next: build warning after merge of the sound-asoc tree
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")
Signature · 2 lines
Cheers, Stephen Rothwell
Hi,
Quoted 6 lines · Stephen Rothwell
Hi all,
After merging the sound-asoc tree, today's linux-next build (
x86_64allmodconfig) produced this warning:
Quoted 8 lines
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 | structrt5682_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