Source-Changes-HG archive

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

[src/netbsd-7]: src/sys/dev/ic Pull up following revision(s) (requested by is...



details:   https://anonhg.NetBSD.org/src/rev/f0b9fcad1539
branches:  netbsd-7
changeset: 745633:f0b9fcad1539
user:      martin <martin%NetBSD.org@localhost>
date:      Sun Mar 08 09:15:34 2020 +0000

description:
Pull up following revision(s) (requested by is in ticket #1723):

        sys/dev/ic/tms320av110.c: revision 1.24

Make it compilable (remove unused variables).

diffstat:

 sys/dev/ic/tms320av110.c |  10 ++--------
 1 files changed, 2 insertions(+), 8 deletions(-)

diffs (48 lines):

diff -r 6bb71ea154a1 -r f0b9fcad1539 sys/dev/ic/tms320av110.c
--- a/sys/dev/ic/tms320av110.c  Wed Feb 12 20:21:12 2020 +0000
+++ b/sys/dev/ic/tms320av110.c  Sun Mar 08 09:15:34 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: tms320av110.c,v 1.23 2012/10/27 17:18:23 chs Exp $     */
+/*     $NetBSD: tms320av110.c,v 1.23.12.1 2020/03/08 09:15:34 martin Exp $     */
 
 /*-
  * Copyright (c) 1997 The NetBSD Foundation, Inc.
@@ -37,7 +37,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: tms320av110.c,v 1.23 2012/10/27 17:18:23 chs Exp $");
+__KERNEL_RCSID(0, "$NetBSD: tms320av110.c,v 1.23.12.1 2020/03/08 09:15:34 martin Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -251,9 +251,7 @@
 int
 tav_query_encoding(void *hdl, struct audio_encoding *ae)
 {
-       struct tav_softc *sc;
 
-       sc = hdl;
        if (ae->index >= sizeof(tav_encodings)/sizeof(*ae))
                return EINVAL;
 
@@ -473,9 +471,7 @@
 int
 tav_set_port(void *hdl, mixer_ctrl_t *mc)
 {
-       struct tav_softc *sc;
 
-       sc = hdl;
        /* dummy */
        return 0;
 }
@@ -483,9 +479,7 @@
 int
 tav_get_port(void *hdl, mixer_ctrl_t *mc)
 {
-       struct tav_softc *sc;
 
-       sc = hdl;
        /* dummy */
        return 0;
 }



Home | Main Index | Thread Index | Old Index