[ALSA] Optimize for config without PROC_FS (seq and oss parts)

Modules: ALSA<-OSS emulation,ALSA sequencer,ALSA<-OSS sequencer

Optimize the code when compiled without CONFIG_PROC_FS (in seq and oss
emulation parts).

Signed-off-by: Takashi Iwai <tiwai@suse.de>
This commit is contained in:
Takashi Iwai
2005-12-01 10:43:51 +01:00
committed by Jaroslav Kysela
parent e28563cceb
commit 04f141a880
13 changed files with 50 additions and 21 deletions
+2 -1
View File
@@ -2413,6 +2413,7 @@ int snd_seq_kernel_client_write_poll(int clientid, struct file *file, poll_table
/*---------------------------------------------------------------------------*/
#ifdef CONFIG_PROC_FS
/*
* /proc interface
*/
@@ -2518,7 +2519,7 @@ void snd_seq_info_clients_read(struct snd_info_entry *entry,
snd_seq_client_unlock(client);
}
}
#endif /* CONFIG_PROC_FS */
/*---------------------------------------------------------------------------*/