sched/: Fix misplaced right bracket; remove redundant assertion.
This commit is contained in:
parent
7582c2344c
commit
952268274a
@ -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…
Reference in New Issue
Block a user