Commit 8caf7aa2 authored by Takashi Iwai's avatar Takashi Iwai Committed by Jaroslav Kysela

[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>
parent ccb99eee
......@@ -1878,10 +1878,9 @@ static int snd_echo_free(struct echoaudio *chip)
if (chip->dsp_registers)
iounmap(chip->dsp_registers);
if (chip->iores) {
release_resource(chip->iores);
kfree_nocheck(chip->iores);
}
if (chip->iores)
release_and_free_resource(chip->iores);
DE_INIT(("MMIO freed.\n"));
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