Commit e0be4d32 authored by Takashi Iwai's avatar Takashi Iwai Committed by Jaroslav Kysela

[ALSA] Fix compilation without CONFIG_PROC_FS

Memalloc module
Fix an error when built without CONFIG_PROC_FS.
Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent befdf316
......@@ -655,7 +655,6 @@ 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);
free_all_reserved_pages();
if (snd_allocated_pages > 0)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment