Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/raidframe It appears that nothing is using rf_Create...
details: https://anonhg.NetBSD.org/src/rev/3d4c0960351c
branches: trunk
changeset: 534724:3d4c0960351c
user: oster <oster%NetBSD.org@localhost>
date: Fri Aug 02 03:55:13 2002 +0000
description:
It appears that nothing is using rf_CreateDiskQueueDataFull. Make it even
harder to do so by removing it.
diffstat:
sys/dev/raidframe/rf_diskqueue.c | 46 +--------------------------------------
1 files changed, 2 insertions(+), 44 deletions(-)
diffs (67 lines):
diff -r a57242e10000 -r 3d4c0960351c sys/dev/raidframe/rf_diskqueue.c
--- a/sys/dev/raidframe/rf_diskqueue.c Fri Aug 02 03:48:14 2002 +0000
+++ b/sys/dev/raidframe/rf_diskqueue.c Fri Aug 02 03:55:13 2002 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: rf_diskqueue.c,v 1.15 2001/11/13 07:11:13 lukem Exp $ */
+/* $NetBSD: rf_diskqueue.c,v 1.16 2002/08/02 03:55:13 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.15 2001/11/13 07:11:13 lukem Exp $");
+__KERNEL_RCSID(0, "$NetBSD: rf_diskqueue.c,v 1.16 2002/08/02 03:55:13 oster Exp $");
#include <dev/raidframe/raidframevar.h>
@@ -540,48 +540,6 @@
return (p);
}
-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)
-{
- RF_DiskQueueData_t *p;
-
- RF_FREELIST_GET_INIT(rf_dqd_freelist, p, next, (RF_DiskQueueData_t *), init_dqd);
-
- p->sectorOffset = ssect + rf_protectedSectors;
- p->numSector = nsect;
- p->type = typ;
- p->buf = buf;
- p->parityStripeID = parityStripeID;
- p->which_ru = which_ru;
- p->CompleteFunc = wakeF;
- p->argument = arg;
- p->next = next;
- p->tracerec = tracerec;
- p->priority = priority;
- p->AuxFunc = AuxFunc;
- p->buf2 = buf2;
- p->raidPtr = raidPtr;
- p->flags = flags;
- p->b_proc = kb_proc;
- return (p);
-}
-
void
rf_FreeDiskQueueData(p)
RF_DiskQueueData_t *p;
Home |
Main Index |
Thread Index |
Old Index