ALSA: core: Build conditionally and remove superfluous ifdefs

Minor cleanups of Makefile to build some codes conditionally so that
a few ifdefs can be reduced.

Acked-by: Jaroslav Kysela <perex@perex.cz>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Este commit está contenido en:
Takashi Iwai
2015-04-23 10:34:34 +02:00
padre b591b6e9e9
commit 85d1431807
Se han modificado 6 ficheros con 8 adiciones y 25 borrados

Ver fichero

@@ -33,12 +33,6 @@
#include <linux/mutex.h>
#include <stdarg.h>
/*
*
*/
#ifdef CONFIG_PROC_FS
int snd_info_check_reserved_words(const char *str)
{
static char *reserved[] =
@@ -850,5 +844,3 @@ static int __init snd_info_version_init(void)
entry->c.text.read = snd_info_version_read;
return snd_info_register(entry); /* freed in error path */
}
#endif /* CONFIG_PROC_FS */