Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/arm/iomd speaker_ctl() is optional, and vidcaudio_s...



details:   https://anonhg.NetBSD.org/src/rev/4b040bf132df
branches:  trunk
changeset: 556891:4b040bf132df
user:      bjh21 <bjh21%NetBSD.org@localhost>
date:      Mon Dec 29 16:49:31 2003 +0000

description:
speaker_ctl() is optional, and vidcaudio_speaker_ctl() did nothing, so kill it.

diffstat:

 sys/arch/arm/iomd/vidcaudio.c |  17 +++--------------
 1 files changed, 3 insertions(+), 14 deletions(-)

diffs (52 lines):

diff -r 2644ea853ce7 -r 4b040bf132df sys/arch/arm/iomd/vidcaudio.c
--- a/sys/arch/arm/iomd/vidcaudio.c     Mon Dec 29 16:45:58 2003 +0000
+++ b/sys/arch/arm/iomd/vidcaudio.c     Mon Dec 29 16:49:31 2003 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: vidcaudio.c,v 1.22 2003/12/29 16:45:58 bjh21 Exp $     */
+/*     $NetBSD: vidcaudio.c,v 1.23 2003/12/29 16:49:31 bjh21 Exp $     */
 
 /*
  * Copyright (c) 1995 Melvin Tang-Richardson
@@ -38,7 +38,7 @@
 
 #include <sys/param.h> /* proc.h */
 
-__KERNEL_RCSID(0, "$NetBSD: vidcaudio.c,v 1.22 2003/12/29 16:45:58 bjh21 Exp $");
+__KERNEL_RCSID(0, "$NetBSD: vidcaudio.c,v 1.23 2003/12/29 16:49:31 bjh21 Exp $");
 
 #include <sys/audioio.h>
 #include <sys/conf.h>   /* autoconfig functions */
@@ -113,7 +113,6 @@
 int    vidcaudio_start_input(void *, void *, int, void (*)(void *), void *);
 int    vidcaudio_halt_output(void *);
 int    vidcaudio_halt_input(void *);
-int    vidcaudio_speaker_ctl(void *, int);
 int    vidcaudio_getdev(void *, struct audio_device *);
 int    vidcaudio_set_port(void *, mixer_ctrl_t *);
 int    vidcaudio_get_port(void *, mixer_ctrl_t *);
@@ -140,7 +139,7 @@
        vidcaudio_start_input,
        vidcaudio_halt_output,
        vidcaudio_halt_input,
-       vidcaudio_speaker_ctl,
+       NULL,
        vidcaudio_getdev,
        NULL,
        vidcaudio_set_port,
@@ -407,16 +406,6 @@
 }
 
 int
-vidcaudio_speaker_ctl(void *addr, int newstate)
-{
-
-#ifdef VIDCAUDIO_DEBUG
-       printf("DEBUG: vidcaudio_speaker_ctl\n");
-#endif
-       return 0;
-}
-
-int
 vidcaudio_getdev(void *addr, struct audio_device *retp)
 {
 



Home | Main Index | Thread Index | Old Index