[rtems commit] score: _Scheduler_priority_Ready_queue_requeue()
Sebastian Huber
sebh at rtems.org
Wed May 14 15:03:52 UTC 2014
Module: rtems
Branch: master
Commit: 0f41cc3f4b45dc1b72edb2bb826eba74ed2a8295
Changeset: http://git.rtems.org/rtems/commit/?id=0f41cc3f4b45dc1b72edb2bb826eba74ed2a8295
Author: Sebastian Huber <sebastian.huber at embedded-brains.de>
Date: Wed May 14 11:25:07 2014 +0200
score: _Scheduler_priority_Ready_queue_requeue()
Delete unused function _Scheduler_priority_Ready_queue_requeue().
---
.../include/rtems/score/schedulerpriorityimpl.h | 22 --------------------
1 files changed, 0 insertions(+), 22 deletions(-)
diff --git a/cpukit/score/include/rtems/score/schedulerpriorityimpl.h b/cpukit/score/include/rtems/score/schedulerpriorityimpl.h
index 3fb1e5b..ffcc2d3 100644
--- a/cpukit/score/include/rtems/score/schedulerpriorityimpl.h
+++ b/cpukit/score/include/rtems/score/schedulerpriorityimpl.h
@@ -172,28 +172,6 @@ RTEMS_INLINE_ROUTINE Thread_Control *_Scheduler_priority_Ready_queue_first(
}
/**
- * @brief Requeues a thread on the specified ready queue.
- *
- * This routine is invoked when a thread changes priority and should be
- * moved to a different position on the ready queue.
- *
- * @param[in] the_thread The thread to requeue.
- * @param[in] ready_queue The ready queue.
- */
-RTEMS_INLINE_ROUTINE void _Scheduler_priority_Ready_queue_requeue(
- Thread_Control *the_thread,
- Scheduler_priority_Ready_queue *ready_queue
-)
-{
- Chain_Control *ready_chain = ready_queue->ready_chain;
-
- if ( !_Chain_Has_only_one_node( ready_chain ) ) {
- _Chain_Extract_unprotected( &the_thread->Object.Node );
- _Chain_Append_unprotected( ready_chain, &the_thread->Object.Node );
- }
-}
-
-/**
* @brief Scheduling decision logic.
*
* This kernel routine implements scheduling decision logic
More information about the vc
mailing list