Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/raidframe rf_flags wasn't being used. *poof*



details:   https://anonhg.NetBSD.org/src/rev/a35657b89254
branches:  trunk
changeset: 536784:a35657b89254
user:      oster <oster%NetBSD.org@localhost>
date:      Sun Sep 22 03:46:40 2002 +0000

description:
rf_flags wasn't being used.  *poof*

diffstat:

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

diffs (35 lines):

diff -r 1a962b2c6edf -r a35657b89254 sys/dev/raidframe/rf_netbsdkintf.c
--- a/sys/dev/raidframe/rf_netbsdkintf.c        Sun Sep 22 03:44:42 2002 +0000
+++ b/sys/dev/raidframe/rf_netbsdkintf.c        Sun Sep 22 03:46:40 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: rf_netbsdkintf.c,v 1.134 2002/09/22 03:44:42 oster Exp $       */
+/*     $NetBSD: rf_netbsdkintf.c,v 1.135 2002/09/22 03:46:40 oster Exp $       */
 /*-
  * Copyright (c) 1996, 1997, 1998 The NetBSD Foundation, Inc.
  * All rights reserved.
@@ -114,7 +114,7 @@
  ***********************************************************/
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: rf_netbsdkintf.c,v 1.134 2002/09/22 03:44:42 oster Exp $");
+__KERNEL_RCSID(0, "$NetBSD: rf_netbsdkintf.c,v 1.135 2002/09/22 03:46:40 oster Exp $");
 
 #include <sys/param.h>
 #include <sys/errno.h>
@@ -206,7 +206,6 @@
 struct raidbuf {
        struct buf rf_buf;      /* new I/O buf.  MUST BE FIRST!!! */
        struct buf *rf_obp;     /* ptr. to original I/O buf */
-       int     rf_flags;       /* misc. flags */
        RF_DiskQueueData_t *req;/* the request that this was part of.. */
 };
 
@@ -1791,8 +1790,6 @@
 #endif
        raidbp = RAIDGETBUF(rs);
 
-       raidbp->rf_flags = 0;   /* XXX not really used anywhere... */
-
        /*
         * context for raidiodone
         */



Home | Main Index | Thread Index | Old Index