Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/x68k/dev Remove an unused variable.



details:   https://anonhg.NetBSD.org/src/rev/05e6af771389
branches:  trunk
changeset: 980482:05e6af771389
user:      isaki <isaki%NetBSD.org@localhost>
date:      Sat Feb 06 12:50:04 2021 +0000

description:
Remove an unused variable.

diffstat:

 sys/arch/x68k/dev/vs.c    |  5 ++---
 sys/arch/x68k/dev/vsvar.h |  4 +---
 2 files changed, 3 insertions(+), 6 deletions(-)

diffs (44 lines):

diff -r 52d6a95c7301 -r 05e6af771389 sys/arch/x68k/dev/vs.c
--- a/sys/arch/x68k/dev/vs.c    Sat Feb 06 12:18:45 2021 +0000
+++ b/sys/arch/x68k/dev/vs.c    Sat Feb 06 12:50:04 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: vs.c,v 1.53 2021/02/06 09:27:35 isaki Exp $    */
+/*     $NetBSD: vs.c,v 1.54 2021/02/06 12:50:04 isaki Exp $    */
 
 /*
  * Copyright (c) 2001 Tetsuya Isaki. All rights reserved.
@@ -30,7 +30,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: vs.c,v 1.53 2021/02/06 09:27:35 isaki Exp $");
+__KERNEL_RCSID(0, "$NetBSD: vs.c,v 1.54 2021/02/06 12:50:04 isaki Exp $");
 
 #include "audio.h"
 #include "vs.h"
@@ -212,7 +212,6 @@
        /* Initialize sc */
        sc->sc_iot = iot;
        sc->sc_ioh = ioh;
-       sc->sc_hw_if = &vs_hw_if;
        sc->sc_addr = (void *) ia->ia_addr;
        sc->sc_dmas = NULL;
        sc->sc_prev_vd = NULL;
diff -r 52d6a95c7301 -r 05e6af771389 sys/arch/x68k/dev/vsvar.h
--- a/sys/arch/x68k/dev/vsvar.h Sat Feb 06 12:18:45 2021 +0000
+++ b/sys/arch/x68k/dev/vsvar.h Sat Feb 06 12:50:04 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: vsvar.h,v 1.18 2021/02/06 09:27:35 isaki Exp $ */
+/*     $NetBSD: vsvar.h,v 1.19 2021/02/06 12:50:04 isaki Exp $ */
 
 /*
  * Copyright (c) 2001 Tetsuya Isaki. All rights reserved.
@@ -99,8 +99,6 @@
                int rate;
        } sc_current;
 
-       const struct audio_hw_if *sc_hw_if;
-
        void (*sc_pintr)(void *);
        void (*sc_rintr)(void *);
        void *sc_parg;



Home | Main Index | Thread Index | Old Index