From 184ac4d3838237b61d390699a0a3c2279adad57c Mon Sep 17 00:00:00 2001 From: Artur Grabowski Date: Wed, 23 Jan 2002 01:44:21 +0000 Subject: Kill PR_FREEHEADER, not used anymore and confusing. --- sys/kern/subr_pool.c | 5 +---- sys/sys/pool.h | 3 +-- 2 files changed, 2 insertions(+), 6 deletions(-) (limited to 'sys') 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 */ -- cgit v1.2.3