Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev/raidframe We don't need to check for raidautoconfig ...



details:   https://anonhg.NetBSD.org/src/rev/e7dc6073e22d
branches:  trunk
changeset: 511526:e7dc6073e22d
user:      oster <oster%NetBSD.org@localhost>
date:      Thu Jun 21 03:07:04 2001 +0000

description:
We don't need to check for raidautoconfig here, so nuke it and
clean up a little.

diffstat:

 sys/dev/raidframe/rf_netbsdkintf.c |  7 ++-----
 1 files changed, 2 insertions(+), 5 deletions(-)

diffs (28 lines):

diff -r 9f9bcfa39219 -r e7dc6073e22d sys/dev/raidframe/rf_netbsdkintf.c
--- a/sys/dev/raidframe/rf_netbsdkintf.c        Thu Jun 21 02:34:50 2001 +0000
+++ b/sys/dev/raidframe/rf_netbsdkintf.c        Thu Jun 21 03:07:04 2001 +0000
@@ -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 @@
        /* 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 @@
                        }
                }
        }
-}
-return(ac_list);
+       return(ac_list);
 }
                        
 static int



Home | Main Index | Thread Index | Old Index