Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/raidframe 'buf2' is unused. Nuke it.



details:   https://anonhg.NetBSD.org/src/rev/284f7b6f507c
branches:  trunk
changeset: 536429:284f7b6f507c
user:      oster <oster%NetBSD.org@localhost>
date:      Sun Sep 15 21:19:50 2002 +0000

description:
'buf2' is unused.  Nuke it.

diffstat:

 sys/dev/raidframe/rf_diskqueue.c |  5 ++---
 sys/dev/raidframe/rf_diskqueue.h |  3 +--
 2 files changed, 3 insertions(+), 5 deletions(-)

diffs (43 lines):

diff -r a630fd9071db -r 284f7b6f507c sys/dev/raidframe/rf_diskqueue.c
--- a/sys/dev/raidframe/rf_diskqueue.c  Sun Sep 15 21:04:35 2002 +0000
+++ b/sys/dev/raidframe/rf_diskqueue.c  Sun Sep 15 21:19:50 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: rf_diskqueue.c,v 1.18 2002/09/14 17:53:57 oster Exp $  */
+/*     $NetBSD: rf_diskqueue.c,v 1.19 2002/09/15 21:19:50 oster Exp $  */
 /*
  * Copyright (c) 1995 Carnegie-Mellon University.
  * All rights reserved.
@@ -66,7 +66,7 @@
  ****************************************************************************/
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: rf_diskqueue.c,v 1.18 2002/09/14 17:53:57 oster Exp $");
+__KERNEL_RCSID(0, "$NetBSD: rf_diskqueue.c,v 1.19 2002/09/15 21:19:50 oster Exp $");
 
 #include <dev/raidframe/raidframevar.h>
 
@@ -529,7 +529,6 @@
        p->next = next;
        p->tracerec = tracerec;
        p->priority = RF_IO_NORMAL_PRIORITY;
-       p->buf2 = NULL;
        p->raidPtr = raidPtr;
        p->flags = flags;
        p->b_proc = kb_proc;
diff -r a630fd9071db -r 284f7b6f507c sys/dev/raidframe/rf_diskqueue.h
--- a/sys/dev/raidframe/rf_diskqueue.h  Sun Sep 15 21:04:35 2002 +0000
+++ b/sys/dev/raidframe/rf_diskqueue.h  Sun Sep 15 21:19:50 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: rf_diskqueue.h,v 1.7 2002/08/02 04:01:51 oster Exp $   */
+/*     $NetBSD: rf_diskqueue.h,v 1.8 2002/09/15 21:19:50 oster Exp $   */
 /*
  * Copyright (c) 1995 Carnegie-Mellon University.
  * All rights reserved.
@@ -71,7 +71,6 @@
        long    entryTime;
        RF_DiskQueueData_t *next;
        RF_DiskQueueData_t *prev;
-       caddr_t buf2;           /* for read-op-write */
        dev_t   dev;            /* the device number for in-kernel version */
        RF_DiskQueue_t *queue;  /* the disk queue to which this req is
                                 * targeted */



Home | Main Index | Thread Index | Old Index