From 3270f0dd1a35d6b785bf39e1ed7ed6e1e43c8ebb Mon Sep 17 00:00:00 2001 From: Takashi Iwai Date: Fri, 29 May 2015 08:00:06 +0200 Subject: 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 --- sound/pci/ak4531_codec.c | 6 ------ 1 file changed, 6 deletions(-) (limited to 'sound/pci/ak4531_codec.c') 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 -- cgit v1.2.3