From 92635cb36d7af890c4fc76ac8323b79936001ddd Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Tue, 3 Jun 2014 16:27:53 +0200 Subject: score: Remove scheduler parameter from most ops Remove the scheduler parameter from most high level scheduler operations like - _Scheduler_Block(), - _Scheduler_Unblock(), - _Scheduler_Change_priority(), - _Scheduler_Update_priority(), - _Scheduler_Release_job(), and - _Scheduler_Yield(). This simplifies the scheduler operations usage. --- cpukit/score/src/threadsetpriority.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'cpukit/score/src/threadsetpriority.c') 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 ); } -- cgit v1.2.3