Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/raidframe - AuxFunc is no longer used.



details:   https://anonhg.NetBSD.org/src/rev/753216732cb9
branches:  trunk
changeset: 534726:753216732cb9
user:      oster <oster%NetBSD.org@localhost>
date:      Fri Aug 02 04:01:51 2002 +0000

description:
- AuxFunc is no longer used.
- cleanup function prototypes in rf_diskqueue.h

diffstat:

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

diffs (64 lines):

diff -r a35a362cccc0 -r 753216732cb9 sys/dev/raidframe/rf_diskqueue.c
--- a/sys/dev/raidframe/rf_diskqueue.c  Fri Aug 02 03:58:09 2002 +0000
+++ b/sys/dev/raidframe/rf_diskqueue.c  Fri Aug 02 04:01:51 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: rf_diskqueue.c,v 1.16 2002/08/02 03:55:13 oster Exp $  */
+/*     $NetBSD: rf_diskqueue.c,v 1.17 2002/08/02 04:01:51 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.16 2002/08/02 03:55:13 oster Exp $");
+__KERNEL_RCSID(0, "$NetBSD: rf_diskqueue.c,v 1.17 2002/08/02 04:01:51 oster Exp $");
 
 #include <dev/raidframe/raidframevar.h>
 
@@ -532,7 +532,6 @@
        p->next = next;
        p->tracerec = tracerec;
        p->priority = RF_IO_NORMAL_PRIORITY;
-       p->AuxFunc = NULL;
        p->buf2 = NULL;
        p->raidPtr = raidPtr;
        p->flags = flags;
diff -r a35a362cccc0 -r 753216732cb9 sys/dev/raidframe/rf_diskqueue.h
--- a/sys/dev/raidframe/rf_diskqueue.h  Fri Aug 02 03:58:09 2002 +0000
+++ b/sys/dev/raidframe/rf_diskqueue.h  Fri Aug 02 04:01:51 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: rf_diskqueue.h,v 1.6 2001/10/04 15:58:53 oster Exp $   */
+/*     $NetBSD: rf_diskqueue.h,v 1.7 2002/08/02 04:01:51 oster Exp $   */
 /*
  * Copyright (c) 1995 Carnegie-Mellon University.
  * All rights reserved.
@@ -64,9 +64,6 @@
        int     priority;       /* the priority of this request */
        int     (*CompleteFunc) (void *, int);  /* function to be called upon
                                                 * completion */
-       int     (*AuxFunc) (void *,...);        /* function called upon
-                                                * completion of the first I/O
-                                                * of a Read_Op_Write pair */
        void   *argument;       /* argument to be passed to CompleteFunc */
        RF_Raid_t *raidPtr;     /* needed for simulation */
        RF_AccTraceEntry_t *tracerec;   /* perf mon only */
@@ -184,18 +181,6 @@
                       void *raidPtr, RF_DiskQueueDataFlags_t flags, 
                       void *kb_proc);
 
-RF_DiskQueueData_t *
-rf_CreateDiskQueueDataFull(RF_IoType_t typ, RF_SectorNum_t ssect, 
-                          RF_SectorCount_t nsect, caddr_t buf,
-                          RF_StripeNum_t parityStripeID, 
-                          RF_ReconUnitNum_t which_ru,
-                          int (*wakeF) (void *, int),
-                          void *arg, RF_DiskQueueData_t * next, 
-                          RF_AccTraceEntry_t * tracerec,
-                          int priority, int (*AuxFunc) (void *,...), 
-                          caddr_t buf2, void *raidPtr, 
-                          RF_DiskQueueDataFlags_t flags, void *kb_proc);
-
 void    
 rf_FreeDiskQueueData(RF_DiskQueueData_t * p);
 



Home | Main Index | Thread Index | Old Index