Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev/raidframe Were these functions actually called by an...



details:   https://anonhg.NetBSD.org/src/rev/d502f4dbc3be
branches:  trunk
changeset: 536491:d502f4dbc3be
user:      oster <oster%NetBSD.org@localhost>
date:      Tue Sep 17 03:11:41 2002 +0000

description:
Were these functions actually called by anything, I might have considered
keeping them...

diffstat:

 sys/dev/raidframe/rf_reconmap.c |  8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)

diffs (44 lines):

diff -r 3ec31d3698aa -r d502f4dbc3be sys/dev/raidframe/rf_reconmap.c
--- a/sys/dev/raidframe/rf_reconmap.c   Tue Sep 17 02:55:12 2002 +0000
+++ b/sys/dev/raidframe/rf_reconmap.c   Tue Sep 17 03:11:41 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: rf_reconmap.c,v 1.9 2002/09/14 17:53:58 oster Exp $    */
+/*     $NetBSD: rf_reconmap.c,v 1.10 2002/09/17 03:11:41 oster Exp $   */
 /*
  * Copyright (c) 1995 Carnegie-Mellon University.
  * All rights reserved.
@@ -34,7 +34,7 @@
  *************************************************************************/
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: rf_reconmap.c,v 1.9 2002/09/14 17:53:58 oster Exp $");
+__KERNEL_RCSID(0, "$NetBSD: rf_reconmap.c,v 1.10 2002/09/17 03:11:41 oster Exp $");
 
 #include "rf_raid.h"
 #include <sys/time.h>
@@ -66,7 +66,9 @@
 FreeReconMapListElem(RF_ReconMap_t * mapPtr,
     RF_ReconMapListElem_t * p);
 static void update_size(RF_ReconMap_t * mapPtr, int size);
+#if 0
 static void PrintList(RF_ReconMapListElem_t * listPtr);
+#endif
 
 /*-----------------------------------------------------------------------------
  *
@@ -337,6 +339,7 @@
        mapPtr->maxSize = RF_MAX(mapPtr->size, mapPtr->maxSize);
 }
 
+#if 0
 static void 
 PrintList(listPtr)
        RF_ReconMapListElem_t *listPtr;
@@ -376,6 +379,7 @@
                        }
        }
 }
+#endif
 
 void 
 rf_PrintReconSchedule(mapPtr, starttime)



Home | Main Index | Thread Index | Old Index