projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
befdf31
)
[ALSA] Fix compilation without CONFIG_PROC_FS
author
Takashi Iwai
<tiwai@suse.de>
Tue, 23 Aug 2005 09:11:03 +0000
(11:11 +0200)
committer
Jaroslav Kysela
<perex@suse.cz>
Tue, 30 Aug 2005 06:47:07 +0000
(08:47 +0200)
Memalloc module
Fix an error when built without CONFIG_PROC_FS.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/core/memalloc.c
patch
|
blob
|
blame
|
history
diff --git
a/sound/core/memalloc.c
b/sound/core/memalloc.c
index 371215cd9e8f43b064a3662b60f5fc5f5b199bbb..39a54a415528080a01620e71d7a40efdcbac1e66 100644
(file)
--- a/
sound/core/memalloc.c
+++ b/
sound/core/memalloc.c
@@
-655,8
+655,7
@@
static int __init snd_mem_init(void)
static void __exit snd_mem_exit(void)
{
- if (snd_mem_proc)
- remove_proc_entry(SND_MEM_PROC_FILE, NULL);
+ remove_proc_entry(SND_MEM_PROC_FILE, NULL);
free_all_reserved_pages();
if (snd_allocated_pages > 0)
printk(KERN_ERR "snd-malloc: Memory leak? pages not freed = %li\n", snd_allocated_pages);