]> git.karo-electronics.de Git - linux-beck.git/commitdiff
ASoC: Remove unused variable in wm8776 driver
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Wed, 23 Nov 2011 14:59:54 +0000 (14:59 +0000)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Wed, 23 Nov 2011 15:33:55 +0000 (15:33 +0000)
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/codecs/wm8776.c

index 223fc5a5c1b0e070cf37a1891e630305b0b9896f..359319cbc784cd0a942e2a5bf8161920199430bb 100644 (file)
@@ -392,7 +392,6 @@ static int wm8776_resume(struct snd_soc_codec *codec)
 static int wm8776_probe(struct snd_soc_codec *codec)
 {
        struct wm8776_priv *wm8776 = snd_soc_codec_get_drvdata(codec);
-       struct snd_soc_dapm_context *dapm = &codec->dapm;
        int ret = 0;
 
        ret = snd_soc_codec_set_cache_io(codec, 7, 9, wm8776->control_type);