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

From: Stephen Rothwell
Date: Thu Aug 12 2021 - 22:17:32 EST


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")

--
Cheers,
Stephen Rothwell

Attachment: pgpFTnAgpQ6aS.pgp
Description: OpenPGP digital signature