diff --git a/sys/kern/kern_rndq.c b/sys/kern/kern_rndq.c index ee797e7a80f4..a3dcb7fac51b 100644 --- a/sys/kern/kern_rndq.c +++ b/sys/kern/kern_rndq.c @@ -1,4 +1,4 @@ -/* $NetBSD: kern_rndq.c,v 1.76 2016/02/17 00:43:42 riastradh Exp $ */ +/* $NetBSD: kern_rndq.c,v 1.77 2016/02/17 00:57:36 riastradh Exp $ */ /*- * Copyright (c) 1997-2013 The NetBSD Foundation, Inc. @@ -32,7 +32,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: kern_rndq.c,v 1.76 2016/02/17 00:43:42 riastradh Exp $"); +__KERNEL_RCSID(0, "$NetBSD: kern_rndq.c,v 1.77 2016/02/17 00:57:36 riastradh Exp $"); #include #include @@ -1127,15 +1127,10 @@ skip: SIMPLEQ_INSERT_TAIL(&df_samples, sample, next); /* * If we filled the pool past the threshold, wake anyone - * waiting for entropy. Otherwise, ask all the entropy sources - * for more. + * waiting for entropy. */ if (pool_entropy > RND_ENTROPY_THRESHOLD * 8) { wake++; - } else { - rnd_getmore(howmany((RND_POOLBITS - pool_entropy), NBBY)); - rnd_printf_verbose("rnd: empty, asking for %d bytes\n", - (int)(howmany((RND_POOLBITS - pool_entropy), NBBY))); } /* Now we hold no locks: clean up. */