sched/: Fix misplaced right bracket; remove redundant assertion.
This commit is contained in:
parent
7582c2344c
commit
952268274a
1 changed files with 2 additions and 4 deletions
|
|
@ -276,13 +276,11 @@ static inline void task_saveparent(FAR struct tcb_s *tcb, uint8_t ttype)
|
|||
* child tasks created.
|
||||
*/
|
||||
|
||||
DEBUGASSERT(rtcb->group != NULL &&
|
||||
rtcb->group->tg_nchildren < UINT16_MAX);
|
||||
|
||||
DEBUGASSERT(rtcb->group->tg_nchildren < UINT16_MAX);
|
||||
rtcb->group->tg_nchildren++;
|
||||
}
|
||||
|
||||
#endif /* CONFIG_SCHED_CHILD_STATUS */
|
||||
}
|
||||
}
|
||||
#else
|
||||
# define task_saveparent(tcb,ttype)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue