Skip to contentSkip to conversation

ASoC: Remove unused variable 'wm9090' in wm9090_probe

PATCH Applied Axel Lin 2 participants 2 messages Oct 5, 2011

Subsystems (3)
lore
Share & tools
lore

Axel Lin

author
#0 lore raw

PATCH 1/1 ASoC: Remove unused variable 'wm9090' in wm9090_probe

Eliminate below build warning:
CC sound/soc/codecs/wm9090.o
sound/soc/codecs/wm9090.c: In function 'wm9090_probe':
sound/soc/codecs/wm9090.c:550: warning: unused variable 'wm9090'

---
 sound/soc/codecs/wm9090.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
sound/soc/codecs/wm9090.c +0 -1
index 228d782..2b5252c 100644
@@ -548,7 +548,6 @@ static int wm9090_set_bias_level(struct snd_soc_codec *codec,
 
 static int wm9090_probe(struct snd_soc_codec *codec)
 {
-	struct wm9090_priv *wm9090 = snd_soc_codec_get_drvdata(codec);
 	int ret;
 
 	ret = snd_soc_codec_set_cache_io(codec, 8, 16, SND_SOC_I2C);
Signature · 1 line
1.7.4.1
Applied
#1 lore raw
Quoted 6 lines · Axel Lin

Eliminate below build warning:
CC sound/soc/codecs/wm9090.o
sound/soc/codecs/wm9090.c: In function 'wm9090_probe':
sound/soc/codecs/wm9090.c:550: warning: unused variable 'wm9090'

Applied, thanks.