Module Name:    src
Committed By:   tsutsui
Date:           Fri Nov 25 16:12:32 UTC 2022

Modified Files:
        src/sys/arch/hp300/dev: rd.c

Log Message:
Remove unnecessary declarations.


To generate a diff of this commit:
cvs rdiff -u -r1.113 -r1.114 src/sys/arch/hp300/dev/rd.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/hp300/dev/rd.c
diff -u src/sys/arch/hp300/dev/rd.c:1.113 src/sys/arch/hp300/dev/rd.c:1.114
--- src/sys/arch/hp300/dev/rd.c:1.113	Fri Nov 25 13:02:51 2022
+++ src/sys/arch/hp300/dev/rd.c	Fri Nov 25 16:12:32 2022
@@ -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 @@ rderror(int unit)
 	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 @@ rderror(int unit)
 	 * 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",

Reply via email to