From ef989419d9b3d655df8089a6e862a9ab76f7e625 Mon Sep 17 00:00:00 2001 From: oster Date: Sat, 13 Jul 2002 20:51:54 +0000 Subject: Nuke a redundant check. --- sys/dev/raidframe/rf_driver.c | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) (limited to 'sys/dev/raidframe') 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 -__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 #include @@ -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) { -- cgit