Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/raidframe Nuke a redundant check.
details: https://anonhg.NetBSD.org/src/rev/36b1960fd400
branches: trunk
changeset: 534031:36b1960fd400
user: oster <oster%NetBSD.org@localhost>
date: Sat Jul 13 20:51:54 2002 +0000
description:
Nuke a redundant check.
diffstat:
sys/dev/raidframe/rf_driver.c | 12 ++----------
1 files changed, 2 insertions(+), 10 deletions(-)
diffs (33 lines):
diff -r cd615047bad7 -r 36b1960fd400 sys/dev/raidframe/rf_driver.c
--- a/sys/dev/raidframe/rf_driver.c Sat Jul 13 20:14:33 2002 +0000
+++ b/sys/dev/raidframe/rf_driver.c Sat Jul 13 20:51:54 2002 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: rf_driver.c,v 1.47 2002/07/13 19:35:34 oster Exp $ */
+/* $NetBSD: rf_driver.c,v 1.48 2002/07/13 20:51:54 oster Exp $ */
/*-
* Copyright (c) 1999 The NetBSD Foundation, Inc.
* All rights reserved.
@@ -73,7 +73,7 @@
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: rf_driver.c,v 1.47 2002/07/13 19:35:34 oster Exp $");
+__KERNEL_RCSID(0, "$NetBSD: rf_driver.c,v 1.48 2002/07/13 20:51:54 oster Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -345,14 +345,6 @@
RF_RowCol_t row, col;
int i, rc;
- /* XXX This check can probably be removed now, since
- RAIDFRAME_CONFIGURRE now checks to make sure that the
- RAID set is not already valid
- */
- if (raidPtr->valid) {
- RF_ERRORMSG("RAIDframe configuration not shut down. Aborting configure.\n");
- return (EINVAL);
- }
RF_LOCK_MUTEX(configureMutex);
configureCount++;
if (isconfigged == 0) {
Home |
Main Index |
Thread Index |
Old Index