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 one call to rf_get_threadid() and cle...
details: https://anonhg.NetBSD.org/src/rev/81ad6e8e57f0
branches: trunk
changeset: 480224:81ad6e8e57f0
user: oster <oster%NetBSD.org@localhost>
date: Fri Jan 07 03:47:15 2000 +0000
description:
nuke one call to rf_get_threadid() and cleanup rf_State_Cleanup a bit.
diffstat:
sys/dev/raidframe/rf_states.c | 11 +++++------
1 files changed, 5 insertions(+), 6 deletions(-)
diffs (35 lines):
diff -r 28371d26a950 -r 81ad6e8e57f0 sys/dev/raidframe/rf_states.c
--- a/sys/dev/raidframe/rf_states.c Fri Jan 07 03:43:39 2000 +0000
+++ b/sys/dev/raidframe/rf_states.c Fri Jan 07 03:47:15 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: rf_states.c,v 1.10 1999/12/12 20:52:37 oster Exp $ */
+/* $NetBSD: rf_states.c,v 1.11 2000/01/07 03:47:15 oster Exp $ */
/*
* Copyright (c) 1995 Carnegie-Mellon University.
* All rights reserved.
@@ -575,12 +575,10 @@
RF_AccessStripeMap_t *asm_p;
RF_DagHeader_t *dag_h;
RF_Etimer_t timer;
- int tid, i;
+ int i;
desc->state++;
- rf_get_threadid(tid);
-
timer = tracerec->timer;
RF_ETIMER_STOP(timer);
RF_ETIMER_EVAL(timer);
@@ -619,8 +617,9 @@
asm_p->parityInfo &&
!(desc->flags & RF_DAG_SUPPRESS_LOCKS)) {
RF_ASSERT_VALID_LOCKREQ(&asm_p->lockReqDesc);
- rf_ReleaseStripeLock(raidPtr->lockTable, asm_p->stripeID,
- &asm_p->lockReqDesc);
+ rf_ReleaseStripeLock(raidPtr->lockTable,
+ asm_p->stripeID,
+ &asm_p->lockReqDesc);
}
if (asm_p->flags & RF_ASM_FLAGS_RECON_BLOCKED) {
rf_UnblockRecon(raidPtr, asm_p);
Home |
Main Index |
Thread Index |
Old Index