[ALSA] echoaudio - Remove kfree_nocheck()
Remove obsoleted kfree_nochec() (for debug).
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
diff --git a/sound/pci/echoaudio/echoaudio.c b/sound/pci/echoaudio/echoaudio.c
index e695502..43b408a 100644
--- a/sound/pci/echoaudio/echoaudio.c
+++ b/sound/pci/echoaudio/echoaudio.c
@@ -1878,10 +1878,9 @@
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);