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:
@@ -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 */
|
||||
|
Referencia en una nueva incidencia
Block a user