summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys/kern/subr_pool.c5
-rw-r--r--sys/sys/pool.h3
2 files changed, 2 insertions, 6 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 *
diff --git a/sys/sys/pool.h b/sys/sys/pool.h
index d79e1da39f6..99a1b184d8e 100644
--- a/sys/sys/pool.h
+++ b/sys/sys/pool.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: pool.h,v 1.5 2002/01/23 00:39:48 art Exp $ */
+/* $OpenBSD: pool.h,v 1.6 2002/01/23 01:44:20 art Exp $ */
/* $NetBSD: pool.h,v 1.27 2001/06/06 22:00:17 rafal Exp $ */
/*-
@@ -140,7 +140,6 @@ struct pool {
#define PR_WAITOK 2
#define PR_WANTED 4
#define PR_STATIC 8
-#define PR_FREEHEADER 16
#define PR_PHINPAGE 64
#define PR_LOGGING 128
#define PR_LIMITFAIL 256 /* even if waiting, fail if we hit limit */