[rtems commit] score: Delete _Scheduler_Thread_set_priority()
Sebastian Huber
sebh at rtems.org
Thu Oct 26 07:08:05 UTC 2017
Module: rtems
Branch: master
Commit: 8388ceea056a0fa466eb2bb1fcf0503bf2e01815
Changeset: http://git.rtems.org/rtems/commit/?id=8388ceea056a0fa466eb2bb1fcf0503bf2e01815
Author: Sebastian Huber <sebastian.huber at embedded-brains.de>
Date: Tue Oct 24 06:31:03 2017 +0200
score: Delete _Scheduler_Thread_set_priority()
---
cpukit/score/include/rtems/score/schedulerimpl.h | 12 ------------
1 file changed, 12 deletions(-)
diff --git a/cpukit/score/include/rtems/score/schedulerimpl.h b/cpukit/score/include/rtems/score/schedulerimpl.h
index 89b2441..ba04ec9 100644
--- a/cpukit/score/include/rtems/score/schedulerimpl.h
+++ b/cpukit/score/include/rtems/score/schedulerimpl.h
@@ -703,18 +703,6 @@ RTEMS_INLINE_ROUTINE uint32_t _Scheduler_Get_index(
return (uint32_t) (scheduler - &_Scheduler_Table[ 0 ]);
}
-RTEMS_INLINE_ROUTINE void _Scheduler_Thread_set_priority(
- Thread_Control *the_thread,
- Priority_Control new_priority,
- bool prepend_it
-)
-{
- Scheduler_Node *scheduler_node;
-
- scheduler_node = _Thread_Scheduler_get_home_node( the_thread );
- _Scheduler_Node_set_priority( scheduler_node, new_priority, prepend_it );
-}
-
#if defined(RTEMS_SMP)
/**
* @brief Gets an idle thread from the scheduler instance.
More information about the vc
mailing list