diff options
| author | oster <oster@NetBSD.org> | 2002-09-21 01:12:49 +0000 |
|---|---|---|
| committer | oster <oster@NetBSD.org> | 2002-09-21 01:12:49 +0000 |
| commit | ce8b221a5e6d637e1cc04cd8fc4fe7d0aa4ab80b (patch) | |
| tree | d9b211f0d9a0866ccdaee3676c70cf5b03ec4812 /sys/dev/raidframe/rf_map.c | |
| parent | 22f5e1b6bbde3ed6788a28be561d99a8be0e96a7 (diff) | |
Nuke rf_AllocAccessStripeMapComponent(). Thanks Krister!
Diffstat (limited to 'sys/dev/raidframe/rf_map.c')
| -rw-r--r-- | sys/dev/raidframe/rf_map.c | 14 |
1 files changed, 2 insertions, 12 deletions
diff --git a/sys/dev/raidframe/rf_map.c b/sys/dev/raidframe/rf_map.c index 1bc24f3c18b..339d1190391 100644 --- a/sys/dev/raidframe/rf_map.c +++ b/sys/dev/raidframe/rf_map.c @@ -1,4 +1,4 @@ -/* $NetBSD: rf_map.c,v 1.15 2002/09/19 23:23:19 oster Exp $ */ +/* $NetBSD: rf_map.c,v 1.16 2002/09/21 01:12:50 oster Exp $ */ /* * Copyright (c) 1995 Carnegie-Mellon University. * All rights reserved. @@ -33,7 +33,7 @@ **************************************************************************/ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: rf_map.c,v 1.15 2002/09/19 23:23:19 oster Exp $"); +__KERNEL_RCSID(0, "$NetBSD: rf_map.c,v 1.16 2002/09/21 01:12:50 oster Exp $"); #include <dev/raidframe/raidframevar.h> @@ -432,16 +432,6 @@ rf_FreePDAList(l_start, l_end, count) RF_FREELIST_FREE_N(rf_pda_freelist, l_start, next, (RF_PhysDiskAddr_t *), count); } -RF_AccessStripeMap_t * -rf_AllocAccessStripeMapComponent() -{ - RF_AccessStripeMap_t *p; - - RF_FREELIST_GET(rf_asm_freelist, p, next, (RF_AccessStripeMap_t *)); - memset((char *) p, 0, sizeof(RF_AccessStripeMap_t)); - - return (p); -} /* this is essentially identical to AllocPDAList. I should combine the two. * when we have to call calloc, we do it one component at a time to simplify * the process of freeing the list at program shutdown. This should not be |
