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 Garbage-collect unused sdreset(). Remove...



details:   https://anonhg.NetBSD.org/src/rev/edf0d8de18e0
branches:  trunk
changeset: 536167:edf0d8de18e0
user:      gmcgarry <gmcgarry%NetBSD.org@localhost>
date:      Tue Sep 10 04:19:57 2002 +0000

description:
Garbage-collect unused sdreset().  Remove commented-out prototypes.

diffstat:

 sys/arch/hp300/dev/sd.c |  19 ++-----------------
 1 files changed, 2 insertions(+), 17 deletions(-)

diffs (47 lines):

diff -r 0ceddff550b2 -r edf0d8de18e0 sys/arch/hp300/dev/sd.c
--- a/sys/arch/hp300/dev/sd.c   Tue Sep 10 04:06:26 2002 +0000
+++ b/sys/arch/hp300/dev/sd.c   Tue Sep 10 04:19:57 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: sd.c,v 1.52 2002/09/06 13:18:43 gehenna Exp $  */
+/*     $NetBSD: sd.c,v 1.53 2002/09/10 04:19:57 gmcgarry Exp $ */
 
 /*-
  * Copyright (c) 1996, 1997 The NetBSD Foundation, Inc.
@@ -79,7 +79,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: sd.c,v 1.52 2002/09/06 13:18:43 gehenna Exp $");
+__KERNEL_RCSID(0, "$NetBSD: sd.c,v 1.53 2002/09/10 04:19:57 gmcgarry Exp $");
 
 #include "rnd.h"
 #include "opt_useleds.h"
@@ -109,13 +109,6 @@
 #include <hp300/hp300/leds.h>
 #endif
 
-/*
-extern void disksort();
-extern void biodone();
-extern int physio();
-extern void TBIS();
-*/
-
 int    sdmatch __P((struct device *, struct cfdata *, void *));
 void   sdattach __P((struct device *, struct device *, void *));
 
@@ -318,14 +311,6 @@
 #endif
 }
 
-void
-sdreset(sc)
-       struct sd_softc *sc;
-{
-
-       sc->sc_stats.sdresets++;
-}
-
 /*
  * Determine capacity of a drive.
  * Returns -1 on a failure, 0 on success, 1 on a failure that is probably



Home | Main Index | Thread Index | Old Index