summaryrefslogtreecommitdiff
path: root/sys/kern
diff options
context:
space:
mode:
authorArtur Grabowski <art@cvs.openbsd.org>2002-01-23 01:44:21 +0000
committerArtur Grabowski <art@cvs.openbsd.org>2002-01-23 01:44:21 +0000
commit184ac4d3838237b61d390699a0a3c2279adad57c (patch)
treeeda508bb6788cf56512664d437af825855a76eb1 /sys/kern
parent281c4e0b61763754f56eea64eb8fec65c3e83a03 (diff)
Kill PR_FREEHEADER, not used anymore and confusing.
Diffstat (limited to 'sys/kern')
-rw-r--r--sys/kern/subr_pool.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/sys/kern/subr_pool.c b/sys/kern/subr_pool.c
index f8a42136896..d7ffaec5f9f 100644
--- a/sys/kern/subr_pool.c
+++ b/sys/kern/subr_pool.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: subr_pool.c,v 1.20 2002/01/23 00:39:47 art Exp $ */
+/* $OpenBSD: subr_pool.c,v 1.21 2002/01/23 01:44:20 art Exp $ */
/* $NetBSD: subr_pool.c,v 1.61 2001/09/26 07:14:56 chs Exp $ */
/*-
@@ -575,9 +575,6 @@ pool_destroy(struct pool *pp)
if ((pp->pr_roflags & PR_LOGGING) != 0)
free(pp->pr_log, M_TEMP);
#endif
-
- if (pp->pr_roflags & PR_FREEHEADER)
- free(pp, M_POOL);
}
static __inline struct pool_item_header *