summaryrefslogtreecommitdiffstats
path: root/cpukit/score/src/scheduleredfupdate.c
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2011-09-20 13:06:42 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2011-09-20 13:06:42 +0000
commit40ee2fc0bec20961a4d7c3a324eb84c09d81ded3 (patch)
tree5c028d2ce22c52e1660584042095ffe129cd1725 /cpukit/score/src/scheduleredfupdate.c
parent2011-09-19 Joel Sherrill <joel.sherrill@oarcorp.com> (diff)
downloadrtems-40ee2fc0bec20961a4d7c3a324eb84c09d81ded3.tar.bz2
2011-09-20 Petr Benes <benesp16@fel.cvut.cz>
PR 1916/testing * rtems/src/ratemondelete.c, score/src/schedulercbsreleasejob.c, score/src/scheduleredfupdate.c, score/src/scheduleredfyield.c: Rework to improve coverage.
Diffstat (limited to 'cpukit/score/src/scheduleredfupdate.c')
-rw-r--r--cpukit/score/src/scheduleredfupdate.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/cpukit/score/src/scheduleredfupdate.c b/cpukit/score/src/scheduleredfupdate.c
index a4592d8c46..a5ba1ce8de 100644
--- a/cpukit/score/src/scheduleredfupdate.c
+++ b/cpukit/score/src/scheduleredfupdate.c
@@ -35,16 +35,4 @@ void _Scheduler_EDF_Update(
the_thread->current_priority = the_thread->Start.initial_priority;
sched_info->queue_state = SCHEDULER_EDF_QUEUE_STATE_NOT_PRESENTLY;
}
-
- if ( sched_info->queue_state == SCHEDULER_EDF_QUEUE_STATE_YES ) {
- _RBTree_Extract(&_Scheduler_EDF_Ready_queue, the_node);
- _RBTree_Insert(&_Scheduler_EDF_Ready_queue, the_node);
-
- _Scheduler_EDF_Schedule();
- if ( _Thread_Executing != _Thread_Heir ) {
- if ( _Thread_Executing->is_preemptible ||
- the_thread->current_priority == 0 )
- _Thread_Dispatch_necessary = true;
- }
- }
}