aboutsummaryrefslogtreecommitdiffstats
path: root/sound/pci/echoaudio/echoaudio.c
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2006-06-28 10:39:36 -0400
committerJaroslav Kysela <perex@suse.cz>2006-06-28 13:31:52 -0400
commit8caf7aa26e0797e5706043f94c491acd1a08636a (patch)
tree62314bffcc4eaf6829668e16fe03af03c80d35b0 /sound/pci/echoaudio/echoaudio.c
parentccb99eee9c2430ad7ce2e7026fae93d6668d2d27 (diff)
[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>
Diffstat (limited to 'sound/pci/echoaudio/echoaudio.c')
-rw-r--r--sound/pci/echoaudio/echoaudio.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/sound/pci/echoaudio/echoaudio.c b/sound/pci/echoaudio/echoaudio.c
index e695502f7135..43b408ada1da 100644
--- a/sound/pci/echoaudio/echoaudio.c
+++ b/sound/pci/echoaudio/echoaudio.c
@@ -1878,10 +1878,9 @@ static int snd_echo_free(struct echoaudio *chip)
1878 if (chip->dsp_registers) 1878 if (chip->dsp_registers)
1879 iounmap(chip->dsp_registers); 1879 iounmap(chip->dsp_registers);
1880 1880
1881 if (chip->iores) { 1881 if (chip->iores)
1882 release_resource(chip->iores); 1882 release_and_free_resource(chip->iores);
1883 kfree_nocheck(chip->iores); 1883
1884 }
1885 DE_INIT(("MMIO freed.\n")); 1884 DE_INIT(("MMIO freed.\n"));
1886 1885
1887 pci_disable_device(chip->pci); 1886 pci_disable_device(chip->pci);