- AuxFunc is no longer used.

- cleanup function prototypes in rf_diskqueue.h
This commit is contained in:
oster 2002-08-02 04:01:51 +00:00
parent 8cd68a2ff9
commit d64a7f44ce
2 changed files with 3 additions and 19 deletions

View File

@ -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 @@ rf_CreateDiskQueueData(
p->next = next;
p->tracerec = tracerec;
p->priority = RF_IO_NORMAL_PRIORITY;
p->AuxFunc = NULL;
p->buf2 = NULL;
p->raidPtr = raidPtr;
p->flags = flags;

View File

@ -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 @@ struct RF_DiskQueueData_s {
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 @@ rf_CreateDiskQueueData(RF_IoType_t typ, RF_SectorNum_t ssect,
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);