From d18b04298ab09f408e180bd1a0da5731abfc9f89 Mon Sep 17 00:00:00 2001 From: Michael Lotz Date: Sat, 29 Aug 2009 15:35:11 +0000 Subject: [PATCH] Cleanup, remove needless line-break and trailing space. Also switched that "& " to " &" as really the whole rest of the file uses that style. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32813 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/system/kernel/signal.cpp | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/src/system/kernel/signal.cpp b/src/system/kernel/signal.cpp index 1b160943d4..601e48c966 100644 --- a/src/system/kernel/signal.cpp +++ b/src/system/kernel/signal.cpp @@ -59,7 +59,7 @@ const char * const sigstr[NSIG] = { static status_t deliver_signal(struct thread *thread, uint signal, - uint32 flags, bool& reschedule); + uint32 flags, bool &reschedule); @@ -489,7 +489,7 @@ is_signal_blocked(int signal) */ static status_t deliver_signal(struct thread *thread, uint signal, uint32 flags, - bool& reschedule) + bool &reschedule) { if (flags & B_CHECK_PERMISSION) { // ToDo: introduce euid & uid fields to the team and check permission @@ -581,10 +581,8 @@ send_signal_etc(pid_t id, uint signal, uint32 flags) GRAB_THREAD_LOCK(); thread = thread_get_thread_struct_locked(id); - if (thread != NULL) { - status = deliver_signal(thread, signal, flags, - reschedule); - } + if (thread != NULL) + status = deliver_signal(thread, signal, flags, reschedule); } else { // send a signal to the specified process group // (the absolute value of the id) @@ -617,8 +615,7 @@ send_signal_etc(pid_t id, uint signal, uint32 flags) if (thread != NULL) { // we don't stop because of an error sending the signal; we // rather want to send as much signals as possible - status = deliver_signal(thread, signal, flags, - reschedule); + status = deliver_signal(thread, signal, flags, reschedule); } RELEASE_THREAD_LOCK();