mirror of
https://github.com/FEX-Emu/linux.git
synced 2024-12-16 14:02:10 +00:00
ASoC: Don't free static data in WM9713
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
This commit is contained in:
parent
4290239cd0
commit
0ecfe79878
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user