diff options
author | Takashi Iwai <tiwai@suse.de> | 2015-05-29 09:00:06 +0300 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2015-05-29 09:00:06 +0300 |
commit | 3270f0dd1a35d6b785bf39e1ed7ed6e1e43c8ebb (patch) | |
tree | 0f79ee6172635ebe58c79a4bd011d54e4b89d717 /sound/pci/oxygen | |
parent | 52262b4a5d7c3d3549985a47d96fe7d661220162 (diff) | |
download | linux-3270f0dd1a35d6b785bf39e1ed7ed6e1e43c8ebb.tar.xz |
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/oxygen')
-rw-r--r-- | sound/pci/oxygen/oxygen_lib.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/sound/pci/oxygen/oxygen_lib.c b/sound/pci/oxygen/oxygen_lib.c index ffff3b25fd73..b4ef5804212d 100644 --- a/sound/pci/oxygen/oxygen_lib.c +++ b/sound/pci/oxygen/oxygen_lib.c @@ -196,7 +196,6 @@ static void oxygen_gpio_changed(struct work_struct *work) chip->model.gpio_changed(chip); } -#ifdef CONFIG_PROC_FS static void oxygen_proc_read(struct snd_info_entry *entry, struct snd_info_buffer *buffer) { @@ -250,9 +249,6 @@ static void oxygen_proc_init(struct oxygen *chip) if (!snd_card_proc_new(chip->card, "oxygen", &entry)) snd_info_set_text_ops(entry, chip, oxygen_proc_read); } -#else -#define oxygen_proc_init(chip) -#endif static const struct pci_device_id * oxygen_search_pci_id(struct oxygen *chip, const struct pci_device_id ids[]) |