ASoC: Remove unused driver data from WM8961 probe
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Thu, 12 Aug 2010 14:09:55 +0000 (15:09 +0100)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Thu, 12 Aug 2010 15:11:07 +0000 (16:11 +0100)
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Acked-by: Liam Girdwood <lrg@slimlogic.co.uk>
sound/soc/codecs/wm8961.c

index fa36a62..bfc6578 100644 (file)
@@ -959,7 +959,6 @@ static struct snd_soc_dai_driver wm8961_dai = {
 
 static int wm8961_probe(struct snd_soc_codec *codec)
 {
-       struct wm8961_priv *wm8961 = snd_soc_codec_get_drvdata(codec);
        int ret = 0;
        u16 reg;