aboutsummaryrefslogtreecommitdiffstats
path: root/sound/pci/ak4531_codec.c
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2015-05-29 08:00:06 +0200
committerTakashi Iwai <tiwai@suse.de>2015-05-29 08:00:06 +0200
commit3270f0dd1a35d6b785bf39e1ed7ed6e1e43c8ebb (patch)
tree0f79ee6172635ebe58c79a4bd011d54e4b89d717 /sound/pci/ak4531_codec.c
parentALSA: emux: Fix/cleanup old ifdef CONFIG_PROC_FS (diff)
downloadlinux-dev-3270f0dd1a35d6b785bf39e1ed7ed6e1e43c8ebb.tar.xz
linux-dev-3270f0dd1a35d6b785bf39e1ed7ed6e1e43c8ebb.zip
ALSA: pci: Drop superfluous ifdef CONFIG_PROC_FS
The compiler can optimize the unused code away, so we can drop ifdefs. Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/ak4531_codec.c')
-rw-r--r--sound/pci/ak4531_codec.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/sound/pci/ak4531_codec.c b/sound/pci/ak4531_codec.c
index 3bf0dc53360a..2fb1fbba3e5e 100644
--- a/sound/pci/ak4531_codec.c
+++ b/sound/pci/ak4531_codec.c
@@ -35,11 +35,7 @@ MODULE_DESCRIPTION("Universal routines for AK4531 codec");
MODULE_LICENSE("GPL");
*/
-#ifdef CONFIG_PROC_FS
static void snd_ak4531_proc_init(struct snd_card *card, struct snd_ak4531 *ak4531);
-#else
-#define snd_ak4531_proc_init(card,ak)
-#endif
/*
*
@@ -466,7 +462,6 @@ void snd_ak4531_resume(struct snd_ak4531 *ak4531)
}
#endif
-#ifdef CONFIG_PROC_FS
/*
* /proc interface
*/
@@ -491,4 +486,3 @@ snd_ak4531_proc_init(struct snd_card *card, struct snd_ak4531 *ak4531)
if (! snd_card_proc_new(card, "ak4531", &entry))
snd_info_set_text_ops(entry, ak4531, snd_ak4531_proc_read);
}
-#endif