Update of /cvsroot/alsa/alsa-kernel/core In directory sc8-pr-cvs1:/tmp/cvs-serv5316/core
Modified Files: info.c Log Message: clean up obsolete declarations. Index: info.c =================================================================== RCS file: /cvsroot/alsa/alsa-kernel/core/info.c,v retrieving revision 1.38 retrieving revision 1.39 diff -u -r1.38 -r1.39 --- info.c 30 May 2003 12:53:10 -0000 1.38 +++ info.c 18 Jul 2003 16:07:35 -0000 1.39 @@ -115,7 +115,7 @@ */ -struct proc_dir_entry *snd_proc_root = NULL; +static struct proc_dir_entry *snd_proc_root = NULL; snd_info_entry_t *snd_seq_root = NULL; #ifdef CONFIG_SND_OSSEMUL snd_info_entry_t *snd_oss_root = NULL; @@ -278,18 +278,16 @@ if ((entry->content == SNDRV_INFO_CONTENT_TEXT && !entry->c.text.read_size) || (entry->content == SNDRV_INFO_CONTENT_DATA && - entry->c.ops->read == NULL) || - entry->content == SNDRV_INFO_CONTENT_DEVICE) { + entry->c.ops->read == NULL)) { err = -ENODEV; goto __error; } } if (mode == O_WRONLY || mode == O_RDWR) { if ((entry->content == SNDRV_INFO_CONTENT_TEXT && - !entry->c.text.write_size) || + !entry->c.text.write_size) || (entry->content == SNDRV_INFO_CONTENT_DATA && - entry->c.ops->write == NULL) || - entry->content == SNDRV_INFO_CONTENT_DEVICE) { + entry->c.ops->write == NULL)) { err = -ENODEV; goto __error; } ------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 _______________________________________________ Alsa-cvslog mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/alsa-cvslog