Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/raidframe Remove unused variables
details: https://anonhg.NetBSD.org/src/rev/fa897bb7720f
branches: trunk
changeset: 790026:fa897bb7720f
user: martin <martin%NetBSD.org@localhost>
date: Sun Sep 15 12:11:16 2013 +0000
description:
Remove unused variables
diffstat:
sys/dev/raidframe/rf_aselect.c | 14 +++++---------
1 files changed, 5 insertions(+), 9 deletions(-)
diffs (49 lines):
diff -r 2c624b5c0613 -r fa897bb7720f sys/dev/raidframe/rf_aselect.c
--- a/sys/dev/raidframe/rf_aselect.c Sun Sep 15 12:06:50 2013 +0000
+++ b/sys/dev/raidframe/rf_aselect.c Sun Sep 15 12:11:16 2013 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: rf_aselect.c,v 1.27 2011/08/31 18:31:02 plunky Exp $ */
+/* $NetBSD: rf_aselect.c,v 1.28 2013/09/15 12:11:16 martin 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.27 2011/08/31 18:31:02 plunky Exp $");
+__KERNEL_RCSID(0, "$NetBSD: rf_aselect.c,v 1.28 2013/09/15 12:11:16 martin Exp $");
#include <dev/raidframe/raidframevar.h>
@@ -115,8 +115,7 @@
int i, j, k;
RF_FuncList_t *stripeFuncsList, *stripeFuncs, *stripeFuncsEnd, *temp;
RF_AccessStripeMap_t *asm_up, *asm_bp;
- RF_AccessStripeMapHeader_t ***asmh_u, *endASMList;
- RF_AccessStripeMapHeader_t ***asmh_b;
+ RF_AccessStripeMapHeader_t *endASMList;
RF_ASMHeaderListElem_t *asmhle, *tmpasmhle;
RF_VoidFunctionPointerListElem_t *vfple, *tmpvfple;
RF_FailedStripe_t *failed_stripes_list, *failed_stripes_list_end;
@@ -125,8 +124,8 @@
RF_ASMHeaderListElem_t *failed_stripes_asmh_b_end = NULL;
RF_VoidFunctionPointerListElem_t *failed_stripes_vfple_end = NULL;
RF_VoidFunctionPointerListElem_t *failed_stripes_bvfple_end = NULL;
- RF_VoidFuncPtr **stripeUnitFuncs, uFunc;
- RF_VoidFuncPtr **blockFuncs, bFunc;
+ RF_VoidFuncPtr uFunc;
+ RF_VoidFuncPtr bFunc;
int numStripesBailed = 0, cantCreateDAGs = RF_FALSE;
int numStripeUnitsBailed = 0;
int stripeNum, numUnitDags = 0, stripeUnitNum, numBlockDags = 0;
@@ -138,9 +137,6 @@
void *buffer;
lastdag_h = NULL;
- asmh_u = asmh_b = NULL;
- stripeUnitFuncs = NULL;
- blockFuncs = NULL;
stripeFuncsList = NULL;
stripeFuncsEnd = NULL;
Home |
Main Index |
Thread Index |
Old Index