ASoC: Don't free static data in WM9713

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
This commit is contained in:
Mark Brown 2008-12-01 17:59:25 +00:00
parent 4290239cd0
commit 0ecfe79878

View File

@ -1283,7 +1283,6 @@ static int wm9713_soc_remove(struct platform_device *pdev)
snd_soc_free_ac97_codec(codec);
kfree(codec->private_data);
kfree(codec->reg_cache);
kfree(codec->dai);
kfree(codec);
return 0;
}