Module Name:    src
Committed By:   martin
Date:           Sun Sep 15 12:11:16 UTC 2013

Modified Files:
        src/sys/dev/raidframe: rf_aselect.c

Log Message:
Remove unused variables


To generate a diff of this commit:
cvs rdiff -u -r1.27 -r1.28 src/sys/dev/raidframe/rf_aselect.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/dev/raidframe/rf_aselect.c
diff -u src/sys/dev/raidframe/rf_aselect.c:1.27 src/sys/dev/raidframe/rf_aselect.c:1.28
--- src/sys/dev/raidframe/rf_aselect.c:1.27	Wed Aug 31 18:31:02 2011
+++ src/sys/dev/raidframe/rf_aselect.c	Sun Sep 15 12:11:16 2013
@@ -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 @@ rf_SelectAlgorithm(RF_RaidAccessDesc_t *
 	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_SelectAlgorithm(RF_RaidAccessDesc_t *
 	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 @@ rf_SelectAlgorithm(RF_RaidAccessDesc_t *
 	void *buffer;
 
 	lastdag_h = NULL;
-	asmh_u = asmh_b = NULL;
-	stripeUnitFuncs = NULL;
-	blockFuncs = NULL;
 
 	stripeFuncsList = NULL;
 	stripeFuncsEnd = NULL;

Reply via email to