Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/raidframe PR/51775: David Binderman: Remove unused v...
details: https://anonhg.NetBSD.org/src/rev/f2f6d9ac2807
branches: trunk
changeset: 350101:f2f6d9ac2807
user: christos <christos%NetBSD.org@localhost>
date: Wed Jan 04 15:50:34 2017 +0000
description:
PR/51775: David Binderman: Remove unused variable.
diffstat:
sys/dev/raidframe/rf_aselect.c | 8 +++-----
1 files changed, 3 insertions(+), 5 deletions(-)
diffs (36 lines):
diff -r 72b870faa823 -r f2f6d9ac2807 sys/dev/raidframe/rf_aselect.c
--- a/sys/dev/raidframe/rf_aselect.c Wed Jan 04 15:49:28 2017 +0000
+++ b/sys/dev/raidframe/rf_aselect.c Wed Jan 04 15:50:34 2017 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: rf_aselect.c,v 1.28 2013/09/15 12:11:16 martin Exp $ */
+/* $NetBSD: rf_aselect.c,v 1.29 2017/01/04 15:50:34 christos Exp $ */
/*
* Copyright (c) 1995 Carnegie-Mellon University.
* All rights reserved.
@@ -33,7 +33,7 @@
*****************************************************************************/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: rf_aselect.c,v 1.28 2013/09/15 12:11:16 martin Exp $");
+__KERNEL_RCSID(0, "$NetBSD: rf_aselect.c,v 1.29 2017/01/04 15:50:34 christos Exp $");
#include <dev/raidframe/raidframevar.h>
@@ -128,7 +128,7 @@
RF_VoidFuncPtr bFunc;
int numStripesBailed = 0, cantCreateDAGs = RF_FALSE;
int numStripeUnitsBailed = 0;
- int stripeNum, numUnitDags = 0, stripeUnitNum, numBlockDags = 0;
+ int stripeNum, stripeUnitNum, numBlockDags = 0;
RF_StripeNum_t numStripeUnits;
RF_SectorNum_t numBlocks;
RF_RaidAddr_t address;
@@ -266,8 +266,6 @@
cantCreateDAGs = RF_TRUE;
}
numStripeUnitsBailed++;
- } else {
- numUnitDags++;
}
}
RF_ASSERT(j == numStripeUnits);
Home |
Main Index |
Thread Index |
Old Index