summaryrefslogtreecommitdiff
path: root/sys/dev/raidframe
diff options
context:
space:
mode:
authoroster <oster@NetBSD.org>2002-09-21 01:14:22 +0000
committeroster <oster@NetBSD.org>2002-09-21 01:14:22 +0000
commitce38eb4f8cc2b3f688edf821125af7f7b08f9e59 (patch)
tree1ec1c7fbb2f3137d4e448a051a5f6385acdbac47 /sys/dev/raidframe
parentce8b221a5e6d637e1cc04cd8fc4fe7d0aa4ab80b (diff)
rf_FreeAccessStripeMapComponent() goes too. Thanks Krister!
Diffstat (limited to 'sys/dev/raidframe')
-rw-r--r--sys/dev/raidframe/rf_map.c11
-rw-r--r--sys/dev/raidframe/rf_map.h4
2 files changed, 3 insertions, 12 deletions
diff --git a/sys/dev/raidframe/rf_map.c b/sys/dev/raidframe/rf_map.c
index 339d1190391..747fae1f3e5 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.16 2002/09/21 01:12:50 oster Exp $ */
+/* $NetBSD: rf_map.c,v 1.17 2002/09/21 01:14:22 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.16 2002/09/21 01:12:50 oster Exp $");
+__KERNEL_RCSID(0, "$NetBSD: rf_map.c,v 1.17 2002/09/21 01:14:22 oster Exp $");
#include <dev/raidframe/raidframevar.h>
@@ -447,13 +447,6 @@ rf_AllocASMList(count)
return (p);
}
-void
-rf_FreeAccessStripeMapComponent(p)
- RF_AccessStripeMap_t *p;
-{
- RF_FREELIST_FREE(rf_asm_freelist, p, next);
-}
-
static void
rf_FreeASMList(l_start, l_end, count)
RF_AccessStripeMap_t *l_start, *l_end;
diff --git a/sys/dev/raidframe/rf_map.h b/sys/dev/raidframe/rf_map.h
index d31687e4d5c..8ae8d8514c2 100644
--- a/sys/dev/raidframe/rf_map.h
+++ b/sys/dev/raidframe/rf_map.h
@@ -1,4 +1,4 @@
-/* $NetBSD: rf_map.h,v 1.6 2002/09/21 01:12:49 oster Exp $ */
+/* $NetBSD: rf_map.h,v 1.7 2002/09/21 01:14:22 oster Exp $ */
/*
* Copyright (c) 1995 Carnegie-Mellon University.
* All rights reserved.
@@ -60,8 +60,6 @@ void rf_FreePhysDiskAddr(RF_PhysDiskAddr_t * p);
RF_AccessStripeMap_t *rf_AllocASMList(int count);
-void rf_FreeAccessStripeMapComponent(RF_AccessStripeMap_t * p);
-
void rf_FreeAccessStripeMap(RF_AccessStripeMapHeader_t * hdr);
int rf_CheckStripeForFailures(RF_Raid_t * raidPtr, RF_AccessStripeMap_t * asmap);