summaryrefslogtreecommitdiff
path: root/sys/dev/raidframe
diff options
context:
space:
mode:
authoroster <oster@NetBSD.org>2002-07-13 20:51:54 +0000
committeroster <oster@NetBSD.org>2002-07-13 20:51:54 +0000
commitef989419d9b3d655df8089a6e862a9ab76f7e625 (patch)
tree68cfa95d66d632ae258712087b3c21984add53b5 /sys/dev/raidframe
parentbc8ead0c0a6ca4567ef3e3c079acf7e1e33e3b03 (diff)
Nuke a redundant check.
Diffstat (limited to 'sys/dev/raidframe')
-rw-r--r--sys/dev/raidframe/rf_driver.c12
1 files changed, 2 insertions, 10 deletions
diff --git a/sys/dev/raidframe/rf_driver.c b/sys/dev/raidframe/rf_driver.c
index 12b62bd2a34..4994e738fb9 100644
--- a/sys/dev/raidframe/rf_driver.c
+++ b/sys/dev/raidframe/rf_driver.c
@@ -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_Configure(raidPtr, cfgPtr, ac)
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) {