Module Name:    src
Committed By:   riastradh
Date:           Fri May  8 16:05:36 UTC 2020

Modified Files:
        src/sys/dev: random.c

Log Message:
Omit needless comment.

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


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/sys/dev/random.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/dev/random.c
diff -u src/sys/dev/random.c:1.6 src/sys/dev/random.c:1.7
--- src/sys/dev/random.c:1.6	Fri May  8 15:57:24 2020
+++ src/sys/dev/random.c	Fri May  8 16:05:36 2020
@@ -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 @@ random_write(dev_t dev, struct uio *uio,
 		/* Check for interruption.  */
 		if (__predict_false(curlwp->l_flag & LW_PENDSIG) &&
 		    sigispending(curlwp, 0)) {
-			error = EINTR; /* XXX ERESTART?  */
+			error = EINTR;
 			break;
 		}
 	}

Reply via email to