summaryrefslogtreecommitdiff
path: root/sys/dev/raidframe
diff options
context:
space:
mode:
authoroster <oster@NetBSD.org>2001-06-21 03:07:04 +0000
committeroster <oster@NetBSD.org>2001-06-21 03:07:04 +0000
commitbdfad3793fa5c72fc4ac7543e7f8cda8760a1a0f (patch)
tree8941aeeecaa3dd02098845b201b494d3efd91b89 /sys/dev/raidframe
parent1c98a8c0db12f95fe6ae1db7ad9df9e0aa71ca2f (diff)
We don't need to check for raidautoconfig here, so nuke it and
clean up a little.
Diffstat (limited to 'sys/dev/raidframe')
-rw-r--r--sys/dev/raidframe/rf_netbsdkintf.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/sys/dev/raidframe/rf_netbsdkintf.c b/sys/dev/raidframe/rf_netbsdkintf.c
index 29bb50ce319..b5a5c00d759 100644
--- a/sys/dev/raidframe/rf_netbsdkintf.c
+++ b/sys/dev/raidframe/rf_netbsdkintf.c
@@ -1,4 +1,4 @@
-/* $NetBSD: rf_netbsdkintf.c,v 1.105 2001/04/05 02:48:51 oster Exp $ */
+/* $NetBSD: rf_netbsdkintf.c,v 1.106 2001/06/21 03:07:04 oster Exp $ */
/*-
* Copyright (c) 1996, 1997, 1998 The NetBSD Foundation, Inc.
* All rights reserved.
@@ -2661,8 +2661,6 @@ rf_find_raid_components()
/* initialize the AutoConfig list */
ac_list = NULL;
-if (raidautoconfig) {
-
/* we begin by trolling through *all* the devices on the system */
for (dv = alldevs.tqh_first; dv != NULL;
@@ -2785,8 +2783,7 @@ if (raidautoconfig) {
}
}
}
-}
-return(ac_list);
+ return(ac_list);
}
static int