Module Name: src Committed By: martin Date: Sun Mar 8 09:57:50 UTC 2020
Modified Files: src/sys/dev/ic [netbsd-8]: tms320av110.c Log Message: Pull up following revision(s) (requested by is in ticket #1516): sys/dev/ic/tms320av110.c: revision 1.24 Make it compilable (remove unused variables). To generate a diff of this commit: cvs rdiff -u -r1.23 -r1.23.30.1 src/sys/dev/ic/tms320av110.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/dev/ic/tms320av110.c diff -u src/sys/dev/ic/tms320av110.c:1.23 src/sys/dev/ic/tms320av110.c:1.23.30.1 --- src/sys/dev/ic/tms320av110.c:1.23 Sat Oct 27 17:18:23 2012 +++ src/sys/dev/ic/tms320av110.c Sun Mar 8 09:57:50 2020 @@ -1,4 +1,4 @@ -/* $NetBSD: tms320av110.c,v 1.23 2012/10/27 17:18:23 chs Exp $ */ +/* $NetBSD: tms320av110.c,v 1.23.30.1 2020/03/08 09:57:50 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.30.1 2020/03/08 09:57:50 martin Exp $"); #include <sys/param.h> #include <sys/systm.h> @@ -251,9 +251,7 @@ tav_drain(void *hdl) 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 @@ tav_set_params(void *hdl, int setmode, i int tav_set_port(void *hdl, mixer_ctrl_t *mc) { - struct tav_softc *sc; - sc = hdl; /* dummy */ return 0; } @@ -483,9 +479,7 @@ tav_set_port(void *hdl, mixer_ctrl_t *mc int tav_get_port(void *hdl, mixer_ctrl_t *mc) { - struct tav_softc *sc; - sc = hdl; /* dummy */ return 0; }