summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2016-08-05 08:19:39 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2016-08-05 08:19:39 +0200
commit69dd99be43da7b1de6976ccd2100f30520c78b89 (patch)
tree1cf5eda095a15005d65803eafe1600e22e599ee6
parentee0e41355d1faa5f74085effc4f57c3a7fc1f884 (diff)
downloadrtems-69dd99be43da7b1de6976ccd2100f30520c78b89.tar.bz2
score: Simplify _Thread_Finalize_life_change()
-rw-r--r--cpukit/score/src/threadrestart.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/cpukit/score/src/threadrestart.c b/cpukit/score/src/threadrestart.c
index 81ba73d704..8e93d457e8 100644
--- a/cpukit/score/src/threadrestart.c
+++ b/cpukit/score/src/threadrestart.c
@@ -449,13 +449,7 @@ static void _Thread_Finalize_life_change(
{
_Thread_queue_Extract_with_proxy( the_thread );
_Thread_Timer_remove( the_thread );
- _Thread_Change_priority(
- the_thread,
- priority,
- NULL,
- _Thread_Raise_real_priority_filter,
- false
- );
+ _Thread_Raise_real_priority( the_thread, priority );
_Thread_Remove_life_change_request( the_thread );
}