Merged in masayuki2009/nuttx.nuttx/lc823450_smp_test (pull request #557)
sched/sched: Remove DEBUGASSERT() in sched_mergepending() Because this DEBUGASSERT() assumes that while loop executes only once. Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com> Approved-by: Gregory Nutt <gnutt@nuttx.org>
This commit is contained in:
parent
9dd5196741
commit
27d4bb43e6
|
@ -235,7 +235,6 @@ bool sched_mergepending(void)
|
|||
/* Remove the task from the pending task list */
|
||||
|
||||
tcb = (FAR struct tcb_s *)dq_remfirst((FAR dq_queue_t *)&g_pendingtasks);
|
||||
DEBUGASSERT(tcb == ptcb);
|
||||
|
||||
/* Add the pending task to the correct ready-to-run list. */
|
||||
|
||||
|
|
Loading…
Reference in New Issue