diff options
| author | oster <oster@NetBSD.org> | 2005-02-12 03:44:41 +0000 |
|---|---|---|
| committer | oster <oster@NetBSD.org> | 2005-02-12 03:44:41 +0000 |
| commit | be864067da4745c8644bd654a549eeed63e952ad (patch) | |
| tree | 4d00dceb2caf999ce963b4d78ec28eab36b501bb /sys/dev/raidframe/rf_diskqueue.h | |
| parent | 0b15470982186df007d537914a1bffa195ad02d9 (diff) | |
The 'next' argument to rf_CreateDiskQueueData is always NULL. Since
there is no particular reason to pass an extra NULL argument, turf it,
and initialize p->next to NULL within the function.
Diffstat (limited to 'sys/dev/raidframe/rf_diskqueue.h')
| -rw-r--r-- | sys/dev/raidframe/rf_diskqueue.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/raidframe/rf_diskqueue.h b/sys/dev/raidframe/rf_diskqueue.h index 37d0f337c48..cc6299518eb 100644 --- a/sys/dev/raidframe/rf_diskqueue.h +++ b/sys/dev/raidframe/rf_diskqueue.h @@ -1,4 +1,4 @@ -/* $NetBSD: rf_diskqueue.h,v 1.18 2005/02/12 03:27:33 oster Exp $ */ +/* $NetBSD: rf_diskqueue.h,v 1.19 2005/02/12 03:44:41 oster Exp $ */ /* * Copyright (c) 1995 Carnegie-Mellon University. * All rights reserved. @@ -157,7 +157,7 @@ RF_DiskQueueData_t *rf_CreateDiskQueueData(RF_IoType_t, RF_SectorNum_t, RF_SectorCount_t , caddr_t, RF_StripeNum_t, RF_ReconUnitNum_t, int (*wakeF) (void *, int), - void *, RF_DiskQueueData_t *, + void *, RF_AccTraceEntry_t *, RF_Raid_t *, RF_DiskQueueDataFlags_t, void *, int); |
