Commit 4b066391 authored by Takashi Iwai's avatar Takashi Iwai Committed by Adrian Bunk

[ALSA] echoaudio - Remove kfree_nocheck()

Remove obsoleted kfree_nochec() (for debug).
Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
Signed-off-by: default avatarJaroslav Kysela <perex@suse.cz>
Signed-off-by: default avatarAdrian Bunk <bunk@stusta.de>
parent 07dda819
...@@ -1878,10 +1878,9 @@ static int snd_echo_free(struct echoaudio *chip) ...@@ -1878,10 +1878,9 @@ static int snd_echo_free(struct echoaudio *chip)
if (chip->dsp_registers) if (chip->dsp_registers)
iounmap(chip->dsp_registers); iounmap(chip->dsp_registers);
if (chip->iores) { if (chip->iores)
release_resource(chip->iores); release_and_free_resource(chip->iores);
kfree_nocheck(chip->iores);
}
DE_INIT(("MMIO freed.\n")); DE_INIT(("MMIO freed.\n"));
pci_disable_device(chip->pci); pci_disable_device(chip->pci);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment