Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/raidframe Nuke some bogus debug code that was alread...



details:   https://anonhg.NetBSD.org/src/rev/b1a05ff5e15d
branches:  trunk
changeset: 502961:b1a05ff5e15d
user:      oster <oster%NetBSD.org@localhost>
date:      Sat Jan 27 20:18:55 2001 +0000

description:
Nuke some bogus debug code that was already '#if 0'ed out.

diffstat:

 sys/dev/raidframe/rf_sstf.c |  12 +-----------
 1 files changed, 1 insertions(+), 11 deletions(-)

diffs (26 lines):

diff -r 7bf393815c5a -r b1a05ff5e15d sys/dev/raidframe/rf_sstf.c
--- a/sys/dev/raidframe/rf_sstf.c       Sat Jan 27 20:10:49 2001 +0000
+++ b/sys/dev/raidframe/rf_sstf.c       Sat Jan 27 20:18:55 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: rf_sstf.c,v 1.5 2000/12/04 11:35:46 fvdl Exp $ */
+/*     $NetBSD: rf_sstf.c,v 1.6 2001/01/27 20:18:55 oster Exp $        */
 /*
  * Copyright (c) 1995 Carnegie-Mellon University.
  * All rights reserved.
@@ -633,16 +633,6 @@
        sstfq = (RF_Sstf_t *) qptr;
 
        n = 0;
-#if 0 /* XXX fvdl -- unitialized use of variable 'r' */
-       if (rf_sstfDebug || rf_scanDebug || rf_cscanDebug) {
-               printf("raid%d: promote %ld %d  queues are %d,%d,%d\n",
-                      r->raidPtr->raidid, (long) parityStripeID, 
-                      (int) which_ru,
-                      sstfq->left.qlen,
-                      sstfq->right.qlen,
-                      sstfq->lopri.qlen);
-       }
-#endif
        for (r = sstfq->lopri.queue; r; r = next) {
                next = r->next;
                if (rf_sstfDebug || rf_scanDebug || rf_cscanDebug) {



Home | Main Index | Thread Index | Old Index