Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/raidframe #if 0 out one other function, and shuffle ...



details:   https://anonhg.NetBSD.org/src/rev/444b30012142
branches:  trunk
changeset: 536737:444b30012142
user:      oster <oster%NetBSD.org@localhost>
date:      Sat Sep 21 07:05:06 2002 +0000

description:
#if 0 out one other function, and shuffle DEBUG code.  Actually
reclaims another 14K!?!?!!  Thanks Krister!

diffstat:

 sys/dev/raidframe/rf_netbsdkintf.c |  9 +++++----
 1 files changed, 5 insertions(+), 4 deletions(-)

diffs (45 lines):

diff -r 61d2f2d19f11 -r 444b30012142 sys/dev/raidframe/rf_netbsdkintf.c
--- a/sys/dev/raidframe/rf_netbsdkintf.c        Sat Sep 21 06:16:07 2002 +0000
+++ b/sys/dev/raidframe/rf_netbsdkintf.c        Sat Sep 21 07:05:06 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: rf_netbsdkintf.c,v 1.132 2002/09/21 01:09:43 oster Exp $       */
+/*     $NetBSD: rf_netbsdkintf.c,v 1.133 2002/09/21 07:05:06 oster Exp $       */
 /*-
  * Copyright (c) 1996, 1997, 1998 The NetBSD Foundation, Inc.
  * All rights reserved.
@@ -114,7 +114,7 @@
  ***********************************************************/
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: rf_netbsdkintf.c,v 1.132 2002/09/21 01:09:43 oster Exp $");
+__KERNEL_RCSID(0, "$NetBSD: rf_netbsdkintf.c,v 1.133 2002/09/21 07:05:06 oster Exp $");
 
 #include <sys/param.h>
 #include <sys/errno.h>
@@ -153,9 +153,8 @@
 #include "rf_parityscan.h"
 #include "rf_threadstuff.h"
 
+#ifdef DEBUG
 int     rf_kdebug_level = 0;
-
-#ifdef DEBUG
 #define db1_printf(a) if (rf_kdebug_level > 0) printf a
 #else                          /* DEBUG */
 #define db1_printf(a) { }
@@ -2840,6 +2839,7 @@
 }
 
 
+#if 0
 void
 rf_print_component_label(clabel)
        RF_ComponentLabel_t *clabel;
@@ -2866,6 +2866,7 @@
 #endif
               
 }
+#endif
 
 RF_ConfigSet_t *
 rf_create_auto_sets(ac_list)



Home | Main Index | Thread Index | Old Index