diff --git a/sched/sched/sched_mergepending.c b/sched/sched/sched_mergepending.c index 15e87ce99c..39968e6e11 100644 --- a/sched/sched/sched_mergepending.c +++ b/sched/sched/sched_mergepending.c @@ -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. */