Skip to content
Snippets Groups Projects
Commit 27d4bb43 authored by Masayuki Ishikawa's avatar Masayuki Ishikawa Committed by Gregory Nutt
Browse files

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: default avatarMasayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>

Approved-by: default avatarGregory Nutt <gnutt@nuttx.org>
parent 9dd51967
No related branches found
No related tags found
No related merge requests found
......@@ -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. */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment