projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ccb99ee
)
[ALSA] echoaudio - Remove kfree_nocheck()
author
Takashi Iwai
<tiwai@suse.de>
Wed, 28 Jun 2006 14:39:36 +0000
(16:39 +0200)
committer
Jaroslav Kysela
<perex@suse.cz>
Wed, 28 Jun 2006 17:31:52 +0000
(19:31 +0200)
Remove obsoleted kfree_nochec() (for debug).
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
sound/pci/echoaudio/echoaudio.c
patch
|
blob
|
blame
|
history
diff --git
a/sound/pci/echoaudio/echoaudio.c
b/sound/pci/echoaudio/echoaudio.c
index e695502f71353366522c5df72dcff4525b76d4f3..43b408ada1da5db8f9ff5f1a357006f3da8f2d0b 100644
(file)
--- a/
sound/pci/echoaudio/echoaudio.c
+++ b/
sound/pci/echoaudio/echoaudio.c
@@
-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);