diff options
Diffstat (limited to 'cpukit/score/src/threadsetpriority.c')
-rw-r--r-- | cpukit/score/src/threadsetpriority.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/cpukit/score/src/threadsetpriority.c b/cpukit/score/src/threadsetpriority.c index 455cf20af2..e1ff118c7e 100644 --- a/cpukit/score/src/threadsetpriority.c +++ b/cpukit/score/src/threadsetpriority.c @@ -28,9 +28,5 @@ void _Thread_Set_priority( { the_thread->current_priority = new_priority; - _Scheduler_Update_priority( - _Scheduler_Get( the_thread), - the_thread, - new_priority - ); + _Scheduler_Update_priority( the_thread, new_priority ); } |