diff options
author | Takashi Iwai <tiwai@suse.de> | 2015-05-29 08:00:06 +0200 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2015-05-29 08:00:06 +0200 |
commit | 3270f0dd1a35d6b785bf39e1ed7ed6e1e43c8ebb (patch) | |
tree | 0f79ee6172635ebe58c79a4bd011d54e4b89d717 /sound/pci/cmipci.c | |
parent | 52262b4a5d7c3d3549985a47d96fe7d661220162 (diff) | |
download | linux-3270f0dd1a35d6b785bf39e1ed7ed6e1e43c8ebb.tar.gz linux-3270f0dd1a35d6b785bf39e1ed7ed6e1e43c8ebb.tar.bz2 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/cmipci.c')
-rw-r--r-- | sound/pci/cmipci.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/sound/pci/cmipci.c b/sound/pci/cmipci.c index 6cf464d9043d..24cdcba06d27 100644 --- a/sound/pci/cmipci.c +++ b/sound/pci/cmipci.c @@ -2772,7 +2772,6 @@ static int snd_cmipci_mixer_new(struct cmipci *cm, int pcm_spdif_device) * proc interface */ -#ifdef CONFIG_PROC_FS static void snd_cmipci_proc_read(struct snd_info_entry *entry, struct snd_info_buffer *buffer) { @@ -2798,10 +2797,6 @@ static void snd_cmipci_proc_init(struct cmipci *cm) if (! snd_card_proc_new(cm->card, "cmipci", &entry)) snd_info_set_text_ops(entry, cm, snd_cmipci_proc_read); } -#else /* !CONFIG_PROC_FS */ -static inline void snd_cmipci_proc_init(struct cmipci *cm) {} -#endif - static const struct pci_device_id snd_cmipci_ids[] = { {PCI_VDEVICE(CMEDIA, PCI_DEVICE_ID_CMEDIA_CM8338A), 0}, |