summaryrefslogtreecommitdiffstats
path: root/sound/pci/atiixp.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/atiixp.c
parentALSA: emux: Fix/cleanup old ifdef CONFIG_PROC_FS (diff)
downloadlinux-3270f0dd1a35d6b785bf39e1ed7ed6e1e43c8ebb.tar.xz
linux-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/atiixp.c')
-rw-r--r--sound/pci/atiixp.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/sound/pci/atiixp.c b/sound/pci/atiixp.c
index 42a20c806b39..1028fc8bdff5 100644
--- a/sound/pci/atiixp.c
+++ b/sound/pci/atiixp.c
@@ -1530,7 +1530,6 @@ static SIMPLE_DEV_PM_OPS(snd_atiixp_pm, snd_atiixp_suspend, snd_atiixp_resume);
#endif /* CONFIG_PM_SLEEP */
-#ifdef CONFIG_PROC_FS
/*
* proc interface for register dump
*/
@@ -1552,9 +1551,6 @@ static void snd_atiixp_proc_init(struct atiixp *chip)
if (! snd_card_proc_new(chip->card, "atiixp", &entry))
snd_info_set_text_ops(entry, chip, snd_atiixp_proc_read);
}
-#else /* !CONFIG_PROC_FS */
-#define snd_atiixp_proc_init(chip)
-#endif
/*