ASoC: wm8995: Remove unused i2c variable in wm8995_remove()
authorAxel Lin <axel.lin@gmail.com>
Fri, 16 Sep 2011 02:47:37 +0000 (10:47 +0800)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Fri, 16 Sep 2011 09:49:21 +0000 (10:49 +0100)
Signed-off-by: Axel Lin <axel.lin@gmail.com>
Acked-by: Liam Girdwood <lrg@ti.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/codecs/wm8995.c

index 05f779532b1bdf6cd6cd84109adcfca851d6b144..74ae5995a78601b43a4f1e5a2039bd24807b84fd 100644 (file)
@@ -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;