Trivial, cosmetic changes

This commit is contained in:
Gregory Nutt
2016-02-18 14:56:48 -06:00
parent 41d7c35e73
commit 6d97249348
2 changed files with 5 additions and 5 deletions
+1 -1
Submodule arch updated: 5a6306b76a...689e18739d
+4 -4
View File
@@ -305,7 +305,7 @@ int sig_tcbdispatch(FAR struct tcb_s *stcb, siginfo_t *info)
stcb, info->si_signo, info->si_code,
info->si_value.sival_int, stcb->sigprocmask);
DEBUGASSERT(stcb && info);
DEBUGASSERT(stcb != NULL && info != NULL);
/************************* MASKED SIGNAL HANDLING ************************/
@@ -439,7 +439,7 @@ int sig_dispatch(pid_t pid, FAR siginfo_t *info)
/* Get the TCB associated with the pid */
stcb = sched_gettcb(pid);
if (stcb)
if (stcb != NULL)
{
/* The task/thread associated with this PID is still active. Get its
* task group.
@@ -459,7 +459,7 @@ int sig_dispatch(pid_t pid, FAR siginfo_t *info)
/* Did we locate the group? */
if (group)
if (group != NULL)
{
/* Yes.. call group_signal() to send the signal to the correct group
* member.
@@ -478,7 +478,7 @@ int sig_dispatch(pid_t pid, FAR siginfo_t *info)
/* Get the TCB associated with the pid */
stcb = sched_gettcb(pid);
if (!stcb)
if (stcb == NULL)
{
return -ESRCH;
}