Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/kern Prune dead branch.



details:   https://anonhg.NetBSD.org/src/rev/a1a1066a339c
branches:  trunk
changeset: 932488:a1a1066a339c
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Sat May 09 06:12:32 2020 +0000

description:
Prune dead branch.

diffstat:

 sys/kern/kern_entropy.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 2d9f9847712e -r a1a1066a339c sys/kern/kern_entropy.c
--- a/sys/kern/kern_entropy.c   Fri May 08 22:10:08 2020 +0000
+++ b/sys/kern/kern_entropy.c   Sat May 09 06:12:32 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: kern_entropy.c,v 1.17 2020/05/08 15:54:11 riastradh Exp $      */
+/*     $NetBSD: kern_entropy.c,v 1.18 2020/05/09 06:12:32 riastradh Exp $      */
 
 /*-
  * Copyright (c) 2019 The NetBSD Foundation, Inc.
@@ -75,7 +75,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: kern_entropy.c,v 1.17 2020/05/08 15:54:11 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: kern_entropy.c,v 1.18 2020/05/09 06:12:32 riastradh Exp $");
 
 #include <sys/param.h>
 #include <sys/types.h>
@@ -670,7 +670,7 @@
                /* Notify waiters that we now have full entropy.  */
                entropy_notify();
                entropy_immediate_evcnt.ev_count++;
-       } else if (ec->ec_pending) {
+       } else {
                /* Record how much we can add to the global pool.  */
                diff = MIN(ec->ec_pending, ENTROPY_CAPACITY*NBBY - E->pending);
                E->pending += diff;



Home | Main Index | Thread Index | Old Index