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:
Masayuki Ishikawa 2017-12-18 12:09:06 +00:00 committed by Gregory Nutt
parent 9dd5196741
commit 27d4bb43e6
1 changed files with 0 additions and 1 deletions

View File

@ -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. */