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>
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
/*
|
||||
|
Reference in New Issue
Block a user