Source-Changes-HG archive

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

[src/trunk]: src/sys/dev Omit needless comment.



details:   https://anonhg.NetBSD.org/src/rev/b4a6f7849e29
branches:  trunk
changeset: 932481:b4a6f7849e29
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Fri May 08 16:05:36 2020 +0000

description:
Omit needless comment.

We've already committed part of the write, so ERESTART is definitely
not appropriate at this point.

diffstat:

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

diffs (27 lines):

diff -r 6bfa7d06dcb6 -r b4a6f7849e29 sys/dev/random.c
--- a/sys/dev/random.c  Fri May 08 15:57:24 2020 +0000
+++ b/sys/dev/random.c  Fri May 08 16:05:36 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: random.c,v 1.6 2020/05/08 15:57:24 riastradh Exp $     */
+/*     $NetBSD: random.c,v 1.7 2020/05/08 16:05:36 riastradh Exp $     */
 
 /*-
  * Copyright (c) 2019 The NetBSD Foundation, Inc.
@@ -47,7 +47,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: random.c,v 1.6 2020/05/08 15:57:24 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: random.c,v 1.7 2020/05/08 16:05:36 riastradh Exp $");
 
 #include <sys/param.h>
 #include <sys/types.h>
@@ -398,7 +398,7 @@
                /* Check for interruption.  */
                if (__predict_false(curlwp->l_flag & LW_PENDSIG) &&
                    sigispending(curlwp, 0)) {
-                       error = EINTR; /* XXX ERESTART?  */
+                       error = EINTR;
                        break;
                }
        }



Home | Main Index | Thread Index | Old Index