Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

[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
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -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)