[rtems commit] score: Simplify _Thread_Finalize_life_change()

Sebastian Huber sebh at rtems.org
Fri Aug 5 07:26:51 UTC 2016


Module:    rtems
Branch:    master
Commit:    69dd99be43da7b1de6976ccd2100f30520c78b89
Changeset: http://git.rtems.org/rtems/commit/?id=69dd99be43da7b1de6976ccd2100f30520c78b89

Author:    Sebastian Huber <sebastian.huber at embedded-brains.de>
Date:      Fri Aug  5 08:19:39 2016 +0200

score: Simplify _Thread_Finalize_life_change()

---

 cpukit/score/src/threadrestart.c | 8 +-------
 1 file changed, 1 insertion(+), 7 deletions(-)

diff --git a/cpukit/score/src/threadrestart.c b/cpukit/score/src/threadrestart.c
index 81ba73d..8e93d45 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 );
 }
 



More information about the vc mailing list