diff options
author | Axel Lin <axel.lin@gmail.com> | 2011-09-15 22:47:37 -0400 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2011-09-16 05:49:21 -0400 |
commit | 0547d0f3dadfd9a3eb8523630fef52612ab14de4 (patch) | |
tree | 472a8cd75f954998705f6325b454fbe55f129021 | |
parent | 6fa0c25bf450fa9b2325e1eff9c58627330026ab (diff) |
ASoC: wm8995: Remove unused i2c variable in wm8995_remove()
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>
-rw-r--r-- | sound/soc/codecs/wm8995.c | 2 |
1 files changed, 0 insertions, 2 deletions
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) | |||
1573 | static int wm8995_remove(struct snd_soc_codec *codec) | 1573 | static int wm8995_remove(struct snd_soc_codec *codec) |
1574 | { | 1574 | { |
1575 | struct wm8995_priv *wm8995; | 1575 | struct wm8995_priv *wm8995; |
1576 | struct i2c_client *i2c; | ||
1577 | 1576 | ||
1578 | i2c = container_of(codec->dev, struct i2c_client, dev); | ||
1579 | wm8995 = snd_soc_codec_get_drvdata(codec); | 1577 | wm8995 = snd_soc_codec_get_drvdata(codec); |
1580 | wm8995_set_bias_level(codec, SND_SOC_BIAS_OFF); | 1578 | wm8995_set_bias_level(codec, SND_SOC_BIAS_OFF); |
1581 | return 0; | 1579 | return 0; |