Browse Source

Merge remote-tracking branch 'asoc/topic/wm8510' into asoc-next

Mark Brown 12 years ago
parent
commit
2dfbba6694
1 changed files with 0 additions and 3 deletions
  1. 0 3
      sound/soc/codecs/wm8510.c

+ 0 - 3
sound/soc/codecs/wm8510.c

@@ -608,10 +608,7 @@ static int wm8510_probe(struct snd_soc_codec *codec)
 /* power down chip */
 static int wm8510_remove(struct snd_soc_codec *codec)
 {
-	struct wm8510_priv *wm8510 = snd_soc_codec_get_drvdata(codec);
-
 	wm8510_set_bias_level(codec, SND_SOC_BIAS_OFF);
-	kfree(wm8510);
 	return 0;
 }