Explorar el Código

ASoC: Remove unused driver data from WM8961 probe

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Acked-by: Liam Girdwood <lrg@slimlogic.co.uk>
Mark Brown hace 15 años
padre
commit
381ac990db
Se han modificado 1 ficheros con 0 adiciones y 1 borrados
  1. 0 1
      sound/soc/codecs/wm8961.c

+ 0 - 1
sound/soc/codecs/wm8961.c

@@ -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;