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/f4e63a65ec7d
branches:  trunk
changeset: 971923:f4e63a65ec7d
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 aa04cf78a38e -r f4e63a65ec7d 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