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/atiixp.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'sound/pci/atiixp.c') diff --git a/sound/pci/atiixp.c b/sound/pci/atiixp.c index 42a20c8..1028fc8 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 /* -- cgit v1.1