diff options
author | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2008-12-01 12:59:25 -0500 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2008-12-01 14:58:55 -0500 |
commit | 0ecfe7987855d21c2a89ffe003ddf0ee11b42d47 (patch) | |
tree | d980a5051c8ba19b6481558980e0583bf6a04929 | |
parent | 4290239cd05b6323da87b5e7e7db4c673bff5359 (diff) |
ASoC: Don't free static data in WM9713
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
-rw-r--r-- | sound/soc/codecs/wm9713.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/sound/soc/codecs/wm9713.c b/sound/soc/codecs/wm9713.c index 49962a88770d..f3ca8aaf0139 100644 --- a/sound/soc/codecs/wm9713.c +++ b/sound/soc/codecs/wm9713.c | |||
@@ -1283,7 +1283,6 @@ static int wm9713_soc_remove(struct platform_device *pdev) | |||
1283 | snd_soc_free_ac97_codec(codec); | 1283 | snd_soc_free_ac97_codec(codec); |
1284 | kfree(codec->private_data); | 1284 | kfree(codec->private_data); |
1285 | kfree(codec->reg_cache); | 1285 | kfree(codec->reg_cache); |
1286 | kfree(codec->dai); | ||
1287 | kfree(codec); | 1286 | kfree(codec); |
1288 | return 0; | 1287 | return 0; |
1289 | } | 1288 | } |