summaryrefslogtreecommitdiff
path: root/sys/dev/raidframe
diff options
context:
space:
mode:
authoroster <oster@NetBSD.org>2002-09-23 02:55:03 +0000
committeroster <oster@NetBSD.org>2002-09-23 02:55:03 +0000
commit3e5db6c469c24a2574af9e150dc04b41bff56e07 (patch)
treefeb7b8a40103fa503b16ce04187a509f59183ce7 /sys/dev/raidframe
parentd5e5932f5e8d321ac919c9118761949620e34576 (diff)
Ooops.. should have included this 'row' with the last change.
Diffstat (limited to 'sys/dev/raidframe')
-rw-r--r--sys/dev/raidframe/rf_map.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/sys/dev/raidframe/rf_map.c b/sys/dev/raidframe/rf_map.c
index 2455ac141d4..2213e0933b2 100644
--- a/sys/dev/raidframe/rf_map.c
+++ b/sys/dev/raidframe/rf_map.c
@@ -1,4 +1,4 @@
-/* $NetBSD: rf_map.c,v 1.19 2002/09/23 02:53:58 oster Exp $ */
+/* $NetBSD: rf_map.c,v 1.20 2002/09/23 02:55:03 oster Exp $ */
/*
* Copyright (c) 1995 Carnegie-Mellon University.
* All rights reserved.
@@ -33,7 +33,7 @@
**************************************************************************/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: rf_map.c,v 1.19 2002/09/23 02:53:58 oster Exp $");
+__KERNEL_RCSID(0, "$NetBSD: rf_map.c,v 1.20 2002/09/23 02:55:03 oster Exp $");
#include <dev/raidframe/raidframevar.h>
@@ -586,7 +586,7 @@ rf_NumFailedDataUnitsInStripe(raidPtr, asmap)
RF_AccessStripeMap_t *asmap;
{
RF_RaidLayout_t *layoutPtr = &raidPtr->Layout;
- RF_RowCol_t trow, tcol, row, i;
+ RF_RowCol_t trow, tcol, i;
RF_SectorNum_t diskOffset;
RF_RaidAddr_t sosAddr;
int numFailures;
@@ -600,7 +600,6 @@ rf_NumFailedDataUnitsInStripe(raidPtr, asmap)
numFailures = 0;
sosAddr = rf_RaidAddressOfPrevStripeBoundary(layoutPtr, asmap->raidAddress);
- row = asmap->physInfo->row;
for (i = 0; i < layoutPtr->numDataCol; i++) {
(layoutPtr->map->MapSector) (raidPtr, sosAddr + i * layoutPtr->sectorsPerStripeUnit,
&trow, &tcol, &diskOffset, 0);