Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/kern KNF
details: https://anonhg.NetBSD.org/src/rev/77f69b8f9952
branches: trunk
changeset: 348296:77f69b8f9952
user: skrll <skrll%NetBSD.org@localhost>
date: Fri Oct 14 08:37:05 2016 +0000
description:
KNF
diffstat:
sys/kern/sys_process.c | 10 ++++------
1 files changed, 4 insertions(+), 6 deletions(-)
diffs (38 lines):
diff -r 6d4e2990f79a -r 77f69b8f9952 sys/kern/sys_process.c
--- a/sys/kern/sys_process.c Fri Oct 14 05:37:44 2016 +0000
+++ b/sys/kern/sys_process.c Fri Oct 14 08:37:05 2016 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: sys_process.c,v 1.170 2016/09/29 20:40:53 christos Exp $ */
+/* $NetBSD: sys_process.c,v 1.171 2016/10/14 08:37:05 skrll Exp $ */
/*-
* Copyright (c) 2008, 2009 The NetBSD Foundation, Inc.
@@ -118,7 +118,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: sys_process.c,v 1.170 2016/09/29 20:40:53 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: sys_process.c,v 1.171 2016/10/14 08:37:05 skrll Exp $");
#include "opt_ptrace.h"
#include "opt_ktrace.h"
@@ -659,8 +659,7 @@
signo = tmp;
tmp = 0; /* don't search for LWP */
}
- }
- else
+ } else
tmp = -tmp;
if (tmp > 0) {
@@ -710,8 +709,7 @@
* the requested thread, and clear it for other threads.
*/
LIST_FOREACH(lt2, &t->p_lwps, l_sibling) {
- if (lt != lt2)
- {
+ if (lt != lt2) {
lwp_lock(lt2);
process_sstep(lt2, 0);
lwp_unlock(lt2);
Home |
Main Index |
Thread Index |
Old Index