Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/hp300/dev Remove unnecessary declarations.
details: https://anonhg.NetBSD.org/src/rev/98e0fe9c7f20
branches: trunk
changeset: 372430:98e0fe9c7f20
user: tsutsui <tsutsui%NetBSD.org@localhost>
date: Fri Nov 25 16:12:32 2022 +0000
description:
Remove unnecessary declarations.
diffstat:
sys/arch/hp300/dev/rd.c | 6 ++----
1 files changed, 2 insertions(+), 4 deletions(-)
diffs (34 lines):
diff -r 8bd2442b0f34 -r 98e0fe9c7f20 sys/arch/hp300/dev/rd.c
--- a/sys/arch/hp300/dev/rd.c Fri Nov 25 13:12:02 2022 +0000
+++ b/sys/arch/hp300/dev/rd.c Fri Nov 25 16:12:32 2022 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: rd.c,v 1.113 2022/11/25 13:02:51 tsutsui Exp $ */
+/* $NetBSD: rd.c,v 1.114 2022/11/25 16:12:32 tsutsui Exp $ */
/*-
* Copyright (c) 1996, 1997 The NetBSD Foundation, Inc.
@@ -72,7 +72,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: rd.c,v 1.113 2022/11/25 13:02:51 tsutsui Exp $");
+__KERNEL_RCSID(0, "$NetBSD: rd.c,v 1.114 2022/11/25 16:12:32 tsutsui Exp $");
#include "opt_useleds.h"
@@ -1202,7 +1202,6 @@
struct rd_stat *sp;
struct buf *bp;
daddr_t hwbn, pbn;
- char *hexstr(int, int); /* XXX */
if (rdstatus(sc)) {
#ifdef DEBUG
@@ -1226,7 +1225,6 @@
* RDRETRY as defined, the range is 1 to 32 seconds.
*/
if (sp->c_fef & FEF_IMR) {
- extern int hz;
int rdtimo = RDWAITC << sc->sc_errcnt;
#ifdef DEBUG
printf("%s: internal maintenance, %d second timeout\n",
Home |
Main Index |
Thread Index |
Old Index