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 unused variables.



details:   https://anonhg.NetBSD.org/src/rev/d9dfd00d6a1b
branches:  trunk
changeset: 366367:d9dfd00d6a1b
user:      tsutsui <tsutsui%NetBSD.org@localhost>
date:      Mon May 23 16:58:37 2022 +0000

description:
Remove unused variables.

diffstat:

 sys/arch/x68k/dev/fd.c |  6 +++---
 sys/arch/x68k/dev/ms.c |  6 +++---
 2 files changed, 6 insertions(+), 6 deletions(-)

diffs (54 lines):

diff -r 78441d259d0c -r d9dfd00d6a1b sys/arch/x68k/dev/fd.c
--- a/sys/arch/x68k/dev/fd.c    Mon May 23 16:54:29 2022 +0000
+++ b/sys/arch/x68k/dev/fd.c    Mon May 23 16:58:37 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: fd.c,v 1.125 2021/08/07 16:19:07 thorpej Exp $ */
+/*     $NetBSD: fd.c,v 1.126 2022/05/23 16:58:37 tsutsui Exp $ */
 
 /*-
  * Copyright (c) 1998 The NetBSD Foundation, Inc.
@@ -64,7 +64,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: fd.c,v 1.125 2021/08/07 16:19:07 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: fd.c,v 1.126 2022/05/23 16:58:37 tsutsui Exp $");
 
 #include "opt_ddb.h"
 #include "opt_m68k_arch.h"
@@ -158,7 +158,7 @@
        enum fdc_state sc_state;
        int sc_errors;                  /* number of retries so far */
        uint8_t sc_status[7];           /* copy of registers */
-} fdc_softc;
+};
 
 int fdcintr(void *);
 void fdcreset(struct fdc_softc *);
diff -r 78441d259d0c -r d9dfd00d6a1b sys/arch/x68k/dev/ms.c
--- a/sys/arch/x68k/dev/ms.c    Mon May 23 16:54:29 2022 +0000
+++ b/sys/arch/x68k/dev/ms.c    Mon May 23 16:58:37 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ms.c,v 1.39 2022/05/23 16:54:29 tsutsui Exp $ */
+/*     $NetBSD: ms.c,v 1.40 2022/05/23 16:58:37 tsutsui Exp $ */
 
 /*
  * Copyright (c) 1992, 1993
@@ -45,7 +45,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ms.c,v 1.39 2022/05/23 16:54:29 tsutsui Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ms.c,v 1.40 2022/05/23 16:58:37 tsutsui Exp $");
 
 #include <sys/param.h>
 #include <sys/conf.h>
@@ -144,7 +144,7 @@
        volatile int ms_ready;          /* event queue is ready */
        struct  evvar ms_events;        /* event queue state */
        kmutex_t ms_lock;
-} ms_softc;
+};
 
 static int ms_match(device_t, cfdata_t, void *);
 static void ms_attach(device_t, device_t, void *);



Home | Main Index | Thread Index | Old Index