Source-Changes-HG archive

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

[src/trunk]: src/sys/kern Simplify



details:   https://anonhg.NetBSD.org/src/rev/debe5f01e7a6
branches:  trunk
changeset: 815070:debe5f01e7a6
user:      christos <christos%NetBSD.org@localhost>
date:      Thu Apr 28 00:37:39 2016 +0000

description:
Simplify

diffstat:

 sys/kern/kern_sig.c |  7 +++----
 1 files changed, 3 insertions(+), 4 deletions(-)

diffs (28 lines):

diff -r 93f558f7f312 -r debe5f01e7a6 sys/kern/kern_sig.c
--- a/sys/kern/kern_sig.c       Thu Apr 28 00:35:24 2016 +0000
+++ b/sys/kern/kern_sig.c       Thu Apr 28 00:37:39 2016 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: kern_sig.c,v 1.326 2016/04/27 21:15:40 christos Exp $  */
+/*     $NetBSD: kern_sig.c,v 1.327 2016/04/28 00:37:39 christos Exp $  */
 
 /*-
  * Copyright (c) 2006, 2007, 2008 The NetBSD Foundation, Inc.
@@ -70,7 +70,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: kern_sig.c,v 1.326 2016/04/27 21:15:40 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: kern_sig.c,v 1.327 2016/04/28 00:37:39 christos Exp $");
 
 #include "opt_ptrace.h"
 #include "opt_dtrace.h"
@@ -1751,8 +1751,7 @@
                                /* Take the signal. */
                                (void)sigget(sp, NULL, signo, NULL);
                                p->p_xsig = signo;
-                               if (p->p_sflag & PS_CONTINUED)
-                                       p->p_sflag &= ~PS_CONTINUED;
+                               p->p_sflag &= ~PS_CONTINUED;
                                signo = 0;
                                sigswitch(true, PS_NOCLDSTOP, p->p_xsig);
                        } else if (prop & SA_IGNORE) {



Home | Main Index | Thread Index | Old Index