Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/raidframe unlockQNodes, unlockDataNodes, and unlockP...
details: https://anonhg.NetBSD.org/src/rev/4e073642b498
branches: trunk
changeset: 558669:4e073642b498
user: oster <oster%NetBSD.org@localhost>
date: Sat Feb 21 20:06:29 2004 +0000
description:
unlockQNodes, unlockDataNodes, and unlockParityNodes are not used. Turf.
diffstat:
sys/dev/raidframe/rf_dagffwr.c | 9 +++------
1 files changed, 3 insertions(+), 6 deletions(-)
diffs (45 lines):
diff -r f33c5edd6d3a -r 4e073642b498 sys/dev/raidframe/rf_dagffwr.c
--- a/sys/dev/raidframe/rf_dagffwr.c Sat Feb 21 18:23:21 2004 +0000
+++ b/sys/dev/raidframe/rf_dagffwr.c Sat Feb 21 20:06:29 2004 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: rf_dagffwr.c,v 1.17 2004/01/10 00:56:28 oster Exp $ */
+/* $NetBSD: rf_dagffwr.c,v 1.18 2004/02/21 20:06:29 oster Exp $ */
/*
* Copyright (c) 1995 Carnegie-Mellon University.
* All rights reserved.
@@ -34,7 +34,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: rf_dagffwr.c,v 1.17 2004/01/10 00:56:28 oster Exp $");
+__KERNEL_RCSID(0, "$NetBSD: rf_dagffwr.c,v 1.18 2004/02/21 20:06:29 oster Exp $");
#include <dev/raidframe/raidframevar.h>
@@ -477,7 +477,6 @@
const RF_RedFuncs_t *qfuncs)
{
RF_DagNode_t *readDataNodes, *readParityNodes, *readQNodes, *termNode;
- RF_DagNode_t *unlockDataNodes, *unlockParityNodes, *unlockQNodes;
RF_DagNode_t *xorNodes, *qNodes, *blockNode, *commitNode, *nodes;
RF_DagNode_t *writeDataNodes, *writeParityNodes, *writeQNodes;
int i, j, nNodes, totalNumNodes;
@@ -549,7 +548,6 @@
i += numParityNodes;
termNode = &nodes[i];
i += 1;
- unlockDataNodes = unlockParityNodes = NULL;
if (nfaults == 2) {
readQNodes = &nodes[i];
@@ -558,9 +556,8 @@
i += numParityNodes;
qNodes = &nodes[i];
i += numParityNodes;
- unlockQNodes = NULL;
} else {
- readQNodes = writeQNodes = qNodes = unlockQNodes = NULL;
+ readQNodes = writeQNodes = qNodes = NULL;
}
RF_ASSERT(i == totalNumNodes);
Home |
Main Index |
Thread Index |
Old Index