summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
Diffstat (limited to 'sys')
-rw-r--r--sys/kern/subr_pool.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/kern/subr_pool.c b/sys/kern/subr_pool.c
index a9ac0c37e75..e447feffb6c 100644
--- a/sys/kern/subr_pool.c
+++ b/sys/kern/subr_pool.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: subr_pool.c,v 1.57 2007/12/11 15:04:01 tedu Exp $ */
+/* $OpenBSD: subr_pool.c,v 1.58 2007/12/11 15:04:58 tedu Exp $ */
/* $NetBSD: subr_pool.c,v 1.61 2001/09/26 07:14:56 chs Exp $ */
/*-
@@ -869,8 +869,6 @@ pool_sethardlimit(struct pool *pp, unsigned n, const char *warnmess, int ratecap
{
int error = 0;
- simple_lock(&pp->pr_slock);
-
if (n < pp->pr_nout) {
error = EINVAL;
goto done;