diff options
Diffstat (limited to 'sys/dev/raidframe')
| -rw-r--r-- | sys/dev/raidframe/rf_sstf.c | 4 | ||||
| -rw-r--r-- | sys/dev/raidframe/rf_stripelocks.c | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/sys/dev/raidframe/rf_sstf.c b/sys/dev/raidframe/rf_sstf.c index 7c66cd3682c..d1c7e8d34b5 100644 --- a/sys/dev/raidframe/rf_sstf.c +++ b/sys/dev/raidframe/rf_sstf.c @@ -1,4 +1,4 @@ -/* $NetBSD: rf_sstf.c,v 1.4 2000/01/08 23:45:05 oster Exp $ */ +/* $NetBSD: rf_sstf.c,v 1.5 2000/12/04 11:35:46 fvdl Exp $ */ /* * Copyright (c) 1995 Carnegie-Mellon University. * All rights reserved. @@ -633,6 +633,7 @@ rf_SstfPromote(qptr, parityStripeID, which_ru) 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, @@ -641,6 +642,7 @@ rf_SstfPromote(qptr, parityStripeID, which_ru) 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) { diff --git a/sys/dev/raidframe/rf_stripelocks.c b/sys/dev/raidframe/rf_stripelocks.c index 6a2ddd8b6ff..1bfd15e7857 100644 --- a/sys/dev/raidframe/rf_stripelocks.c +++ b/sys/dev/raidframe/rf_stripelocks.c @@ -1,4 +1,4 @@ -/* $NetBSD: rf_stripelocks.c,v 1.5 2000/01/08 23:45:05 oster Exp $ */ +/* $NetBSD: rf_stripelocks.c,v 1.6 2000/12/04 11:35:46 fvdl Exp $ */ /* * Copyright (c) 1995 Carnegie-Mellon University. * All rights reserved. @@ -567,12 +567,14 @@ AddToWaitersQueue( RF_StripeLockDesc_t * lockDesc, RF_LockReqDesc_t * lockReqDesc) { +#if 0 /* XXX fvdl -- unitialized use of 'tid' */ int tid; if (rf_stripeLockDebug) { Dprintf3("[%d] Waiting on lock for stripe %ld table 0x%lx\n", tid, lockDesc->stripeID, (unsigned long) lockTable); FLUSH; } +#endif if (!lockDesc->waitersH) { lockDesc->waitersH = lockDesc->waitersT = lockReqDesc; } else { |
