From 0547d0f3dadfd9a3eb8523630fef52612ab14de4 Mon Sep 17 00:00:00 2001 From: Axel Lin Date: Fri, 16 Sep 2011 10:47:37 +0800 Subject: ASoC: wm8995: Remove unused i2c variable in wm8995_remove() Signed-off-by: Axel Lin Acked-by: Liam Girdwood Signed-off-by: Mark Brown --- sound/soc/codecs/wm8995.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'sound/soc/codecs/wm8995.c') diff --git a/sound/soc/codecs/wm8995.c b/sound/soc/codecs/wm8995.c index 05f779532b1b..74ae5995a786 100644 --- a/sound/soc/codecs/wm8995.c +++ b/sound/soc/codecs/wm8995.c @@ -1573,9 +1573,7 @@ static int wm8995_resume(struct snd_soc_codec *codec) static int wm8995_remove(struct snd_soc_codec *codec) { struct wm8995_priv *wm8995; - struct i2c_client *i2c; - i2c = container_of(codec->dev, struct i2c_client, dev); wm8995 = snd_soc_codec_get_drvdata(codec); wm8995_set_bias_level(codec, SND_SOC_BIAS_OFF); return 0; -- cgit v1.2.3