Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/raidframe ifdef variables like their use
details: https://anonhg.NetBSD.org/src/rev/600fab631d37
branches: trunk
changeset: 790032:600fab631d37
user: martin <martin%NetBSD.org@localhost>
date: Sun Sep 15 12:45:11 2013 +0000
description:
ifdef variables like their use
diffstat:
sys/dev/raidframe/rf_engine.c | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diffs (30 lines):
diff -r ba218b8f2ee8 -r 600fab631d37 sys/dev/raidframe/rf_engine.c
--- a/sys/dev/raidframe/rf_engine.c Sun Sep 15 12:44:03 2013 +0000
+++ b/sys/dev/raidframe/rf_engine.c Sun Sep 15 12:45:11 2013 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: rf_engine.c,v 1.48 2013/04/27 21:18:42 christos Exp $ */
+/* $NetBSD: rf_engine.c,v 1.49 2013/09/15 12:45:11 martin Exp $ */
/*
* Copyright (c) 1995 Carnegie-Mellon University.
* All rights reserved.
@@ -55,7 +55,7 @@
****************************************************************************/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: rf_engine.c,v 1.48 2013/04/27 21:18:42 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: rf_engine.c,v 1.49 2013/09/15 12:45:11 martin Exp $");
#include <sys/errno.h>
@@ -631,9 +631,11 @@
static void
ProcessNode(RF_DagNode_t *node, int context)
{
+#if RF_DEBUG_ENGINE
RF_Raid_t *raidPtr;
raidPtr = node->dagHdr->raidPtr;
+#endif
switch (node->status) {
case rf_good:
Home |
Main Index |
Thread Index |
Old Index