Commit 64323980 authored by Randy Dunlap's avatar Randy Dunlap Committed by Linus Torvalds

[PATCH] janitor: fix for not CONFIG_PROC_FS

From: Luiz Capitulino <lcapitulino@prefeitura.sp.gov.br>

Fix cmipci.c warnings: unused variable `entry', `snd_cmipci_proc_read'
defined but not used
parent 3d1def82
......@@ -2791,6 +2791,7 @@ static int __devinit snd_cmipci_mixer_new(cmipci_t *cm, int pcm_spdif_device)
* proc interface
*/
#ifdef CONFIG_PROC_FS
static void snd_cmipci_proc_read(snd_info_entry_t *entry,
snd_info_buffer_t *buffer)
{
......@@ -2817,6 +2818,9 @@ static void __devinit snd_cmipci_proc_init(cmipci_t *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(cmipci_t *cm) {}
#endif
static struct pci_device_id snd_cmipci_ids[] = {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment