Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/raidframe dataBytesPerStripe is set, but never used....
details: https://anonhg.NetBSD.org/src/rev/f42d24160395
branches: trunk
changeset: 536841:f42d24160395
user: oster <oster%NetBSD.org@localhost>
date: Mon Sep 23 02:35:24 2002 +0000
description:
dataBytesPerStripe is set, but never used. *poof*
diffstat:
sys/dev/raidframe/rf_layout.c | 5 ++---
sys/dev/raidframe/rf_layout.h | 3 +--
2 files changed, 3 insertions(+), 5 deletions(-)
diffs (43 lines):
diff -r 5824ffc378b7 -r f42d24160395 sys/dev/raidframe/rf_layout.c
--- a/sys/dev/raidframe/rf_layout.c Mon Sep 23 00:10:28 2002 +0000
+++ b/sys/dev/raidframe/rf_layout.c Mon Sep 23 02:35:24 2002 +0000
@@ -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 @@
if (retval)
return (retval);
- layoutPtr->dataBytesPerStripe = layoutPtr->dataSectorsPerStripe << raidPtr->logBytesPerSector;
raidPtr->sectorsPerDisk = layoutPtr->stripeUnitsPerDisk * layoutPtr->sectorsPerStripeUnit;
if (rf_forceNumFloatingReconBufs >= 0) {
diff -r 5824ffc378b7 -r f42d24160395 sys/dev/raidframe/rf_layout.h
--- a/sys/dev/raidframe/rf_layout.h Mon Sep 23 00:10:28 2002 +0000
+++ b/sys/dev/raidframe/rf_layout.h Mon Sep 23 02:35:24 2002 +0000
@@ -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 @@
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.
Home |
Main Index |
Thread Index |
Old Index