diff options
author | Takashi Iwai <tiwai@suse.de> | 2015-04-23 04:34:34 -0400 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2015-04-24 11:31:07 -0400 |
commit | 85d143180738475b89d76b18409c3125b01464e1 (patch) | |
tree | 5ed3cd2abb50eebcd6f7ae68dc42eab42d64235f /sound/core/info.c | |
parent | b591b6e9e99017137888e2e397f0ddd8adb77c5d (diff) |
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>
Diffstat (limited to 'sound/core/info.c')
-rw-r--r-- | sound/core/info.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/sound/core/info.c b/sound/core/info.c index 4169062fabf5..f8bdd9b6f322 100644 --- a/sound/core/info.c +++ b/sound/core/info.c | |||
@@ -33,12 +33,6 @@ | |||
33 | #include <linux/mutex.h> | 33 | #include <linux/mutex.h> |
34 | #include <stdarg.h> | 34 | #include <stdarg.h> |
35 | 35 | ||
36 | /* | ||
37 | * | ||
38 | */ | ||
39 | |||
40 | #ifdef CONFIG_PROC_FS | ||
41 | |||
42 | int snd_info_check_reserved_words(const char *str) | 36 | int snd_info_check_reserved_words(const char *str) |
43 | { | 37 | { |
44 | static char *reserved[] = | 38 | static char *reserved[] = |
@@ -850,5 +844,3 @@ static int __init snd_info_version_init(void) | |||
850 | entry->c.text.read = snd_info_version_read; | 844 | entry->c.text.read = snd_info_version_read; |
851 | return snd_info_register(entry); /* freed in error path */ | 845 | return snd_info_register(entry); /* freed in error path */ |
852 | } | 846 | } |
853 | |||
854 | #endif /* CONFIG_PROC_FS */ | ||