summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2017-10-24 06:31:03 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2017-10-26 09:07:40 +0200
commit8388ceea056a0fa466eb2bb1fcf0503bf2e01815 (patch)
tree1d7b235bce9d796ba063fdee97ef6a29a1ec7770
parentcfc360410014bec4043f92122d880857e4544974 (diff)
downloadrtems-8388ceea056a0fa466eb2bb1fcf0503bf2e01815.tar.bz2
score: Delete _Scheduler_Thread_set_priority()
-rw-r--r--cpukit/score/include/rtems/score/schedulerimpl.h12
1 files changed, 0 insertions, 12 deletions
diff --git a/cpukit/score/include/rtems/score/schedulerimpl.h b/cpukit/score/include/rtems/score/schedulerimpl.h
index 89b24415df..ba04ec9492 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.