Module Name: src Committed By: tsutsui Date: Mon May 23 16:58:38 UTC 2022
Modified Files: src/sys/arch/x68k/dev: fd.c ms.c Log Message: Remove unused variables. To generate a diff of this commit: cvs rdiff -u -r1.125 -r1.126 src/sys/arch/x68k/dev/fd.c cvs rdiff -u -r1.39 -r1.40 src/sys/arch/x68k/dev/ms.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/arch/x68k/dev/fd.c diff -u src/sys/arch/x68k/dev/fd.c:1.125 src/sys/arch/x68k/dev/fd.c:1.126 --- src/sys/arch/x68k/dev/fd.c:1.125 Sat Aug 7 16:19:07 2021 +++ src/sys/arch/x68k/dev/fd.c Mon May 23 16:58:37 2022 @@ -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 @@ struct fdc_softc { 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 *); Index: src/sys/arch/x68k/dev/ms.c diff -u src/sys/arch/x68k/dev/ms.c:1.39 src/sys/arch/x68k/dev/ms.c:1.40 --- src/sys/arch/x68k/dev/ms.c:1.39 Mon May 23 16:54:29 2022 +++ src/sys/arch/x68k/dev/ms.c Mon May 23 16:58:37 2022 @@ -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 @@ struct ms_softc { 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 *);