summaryrefslogtreecommitdiff
path: root/sys/dev/raidframe
diff options
context:
space:
mode:
authoroster <oster@NetBSD.org>2002-09-23 02:35:24 +0000
committeroster <oster@NetBSD.org>2002-09-23 02:35:24 +0000
commit35d3621d0c1d72b69164303329cf2384e7ff8b42 (patch)
tree16af74d24aa838abd3602f8648a697275ca7cf96 /sys/dev/raidframe
parentc82ad7ea91456c466dc7a2672d5b13d452878047 (diff)
dataBytesPerStripe is set, but never used. *poof*
Diffstat (limited to 'sys/dev/raidframe')
-rw-r--r--sys/dev/raidframe/rf_layout.c5
-rw-r--r--sys/dev/raidframe/rf_layout.h3
2 files changed, 3 insertions, 5 deletions
diff --git a/sys/dev/raidframe/rf_layout.c b/sys/dev/raidframe/rf_layout.c
index cc8f30a54f5..52910314c1a 100644
--- a/sys/dev/raidframe/rf_layout.c
+++ b/sys/dev/raidframe/rf_layout.c
@@ -1,4 +1,4 @@
-/* $NetBSD: rf_layout.c,v 1.12 2002/08/03 00:58:09 oster Exp $ */
+/* $NetBSD: rf_layout.c,v 1.13 2002/09/23 02:35:24 oster Exp $ */
/*
* Copyright (c) 1995 Carnegie-Mellon University.
* All rights reserved.
@@ -30,7 +30,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: rf_layout.c,v 1.12 2002/08/03 00:58:09 oster Exp $");
+__KERNEL_RCSID(0, "$NetBSD: rf_layout.c,v 1.13 2002/09/23 02:35:24 oster Exp $");
#include <dev/raidframe/raidframevar.h>
@@ -437,7 +437,6 @@ rf_ConfigureLayout(
if (retval)
return (retval);
- layoutPtr->dataBytesPerStripe = layoutPtr->dataSectorsPerStripe << raidPtr->logBytesPerSector;
raidPtr->sectorsPerDisk = layoutPtr->stripeUnitsPerDisk * layoutPtr->sectorsPerStripeUnit;
if (rf_forceNumFloatingReconBufs >= 0) {
diff --git a/sys/dev/raidframe/rf_layout.h b/sys/dev/raidframe/rf_layout.h
index 2f9e01380b1..7050f90da6f 100644
--- a/sys/dev/raidframe/rf_layout.h
+++ b/sys/dev/raidframe/rf_layout.h
@@ -1,4 +1,4 @@
-/* $NetBSD: rf_layout.h,v 1.7 2001/10/05 15:41:23 oster Exp $ */
+/* $NetBSD: rf_layout.h,v 1.8 2002/09/23 02:35:24 oster Exp $ */
/*
* Copyright (c) 1995 Carnegie-Mellon University.
* All rights reserved.
@@ -70,7 +70,6 @@ struct RF_RaidLayout_s {
RF_SectorCount_t dataSectorsPerStripe;
RF_StripeCount_t dataStripeUnitsPerDisk;
u_int bytesPerStripeUnit;
- u_int dataBytesPerStripe;
RF_StripeCount_t numDataCol; /* number of SUs of data per stripe
* (name here is a la RAID4) */
RF_StripeCount_t numParityCol; /* number of SUs of parity per stripe.