summaryrefslogtreecommitdiff
path: root/sys/dev/raidframe/rf_raid4.c
diff options
context:
space:
mode:
authoroster <oster@NetBSD.org>2002-09-23 02:40:07 +0000
committeroster <oster@NetBSD.org>2002-09-23 02:40:07 +0000
commit23b87a323a9e7bf09ad9a0d2ab18ace92d9f4e85 (patch)
treef0317ee8d1ae89a294caf4fe45003ffe95d3fa98 /sys/dev/raidframe/rf_raid4.c
parent35d3621d0c1d72b69164303329cf2384e7ff8b42 (diff)
bytesPerStripeUnit is set, but never used. Thanks to Simon B. for pointing
this out.
Diffstat (limited to 'sys/dev/raidframe/rf_raid4.c')
-rw-r--r--sys/dev/raidframe/rf_raid4.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/dev/raidframe/rf_raid4.c b/sys/dev/raidframe/rf_raid4.c
index dbe2a5b06cb..c68d231d636 100644
--- a/sys/dev/raidframe/rf_raid4.c
+++ b/sys/dev/raidframe/rf_raid4.c
@@ -1,4 +1,4 @@
-/* $NetBSD: rf_raid4.c,v 1.5 2001/11/13 07:11:16 lukem Exp $ */
+/* $NetBSD: rf_raid4.c,v 1.6 2002/09/23 02:40:09 oster Exp $ */
/*
* Copyright (c) 1995 Carnegie-Mellon University.
* All rights reserved.
@@ -33,7 +33,7 @@
***************************************/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: rf_raid4.c,v 1.5 2001/11/13 07:11:16 lukem Exp $");
+__KERNEL_RCSID(0, "$NetBSD: rf_raid4.c,v 1.6 2002/09/23 02:40:09 oster Exp $");
#include "rf_raid.h"
#include "rf_dag.h"
@@ -80,7 +80,6 @@ rf_ConfigureRAID4(
/* fill in the remaining layout parameters */
layoutPtr->numStripe = layoutPtr->stripeUnitsPerDisk;
- layoutPtr->bytesPerStripeUnit = layoutPtr->sectorsPerStripeUnit << raidPtr->logBytesPerSector;
layoutPtr->numDataCol = raidPtr->numCol - 1;
layoutPtr->dataSectorsPerStripe = layoutPtr->numDataCol * layoutPtr->sectorsPerStripeUnit;
layoutPtr->numParityCol = 1;