diff options
author | Takashi Iwai <tiwai@suse.de> | 2005-12-01 04:42:42 -0500 |
---|---|---|
committer | Jaroslav Kysela <perex@suse.cz> | 2006-01-03 06:30:02 -0500 |
commit | e28563cceb9f258ebe3c50fc27d8f4ff0ac4bfa4 (patch) | |
tree | b69095abb998dedc2953368ba2c75978d80f644a /sound/core/sound.c | |
parent | 7cd01dd840824e7c6023ad1dbfdb94a2183a7adb (diff) |
[ALSA] Optimize for config without PROC_FS
Modules: HWDEP Midlevel,ALSA Core,PCM Midlevel,Timer Midlevel
Optimize the code when compiled without CONFIG_PROC_FS.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/core/sound.c')
-rw-r--r-- | sound/core/sound.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sound/core/sound.c b/sound/core/sound.c index 3b91f180f687..a8eda02bcf1c 100644 --- a/sound/core/sound.c +++ b/sound/core/sound.c | |||
@@ -320,6 +320,7 @@ int snd_unregister_device(int type, struct snd_card *card, int dev) | |||
320 | return 0; | 320 | return 0; |
321 | } | 321 | } |
322 | 322 | ||
323 | #ifdef CONFIG_PROC_FS | ||
323 | /* | 324 | /* |
324 | * INFO PART | 325 | * INFO PART |
325 | */ | 326 | */ |
@@ -396,6 +397,7 @@ int __exit snd_minor_info_done(void) | |||
396 | snd_info_unregister(snd_minor_info_entry); | 397 | snd_info_unregister(snd_minor_info_entry); |
397 | return 0; | 398 | return 0; |
398 | } | 399 | } |
400 | #endif /* CONFIG_PROC_FS */ | ||
399 | 401 | ||
400 | /* | 402 | /* |
401 | * INIT PART | 403 | * INIT PART |