projects
/
GitHub
/
mt8127
/
android_kernel_alcatel_ttab.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
10d150e
)
[ALSA] Remove obsolete kfree_nocheck call
author
Takashi Iwai
<tiwai@suse.de>
Mon, 27 Mar 2006 11:45:51 +0000
(13:45 +0200)
committer
Jaroslav Kysela
<perex@suse.cz>
Fri, 31 Mar 2006 15:58:58 +0000
(17:58 +0200)
Fixed the compilation, removing obsolete kfree_nocheck() call
for memory debugging.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/riptide/riptide.c
patch
|
blob
|
blame
|
history
diff --git
a/sound/pci/riptide/riptide.c
b/sound/pci/riptide/riptide.c
index 5b3e49900498ce3a03934c1da6c65042ba271bee..f148ee434a6bfa83ce0e64621ac6c5cc5ea2cc30 100644
(file)
--- a/
sound/pci/riptide/riptide.c
+++ b/
sound/pci/riptide/riptide.c
@@
-1838,10
+1838,7
@@
static int snd_riptide_free(struct snd_riptide *chip)
}
if (chip->fw_entry)
release_firmware(chip->fw_entry);
- if (chip->res_port) {
- release_resource(chip->res_port);
- kfree_nocheck(chip->res_port);
- }
+ release_and_free_resource(chip->res_port);
if (chip->irq >= 0)
free_irq(chip->irq, chip);
kfree(chip);