From 3f3f42482daa45aff3647f34afb4e2c4eca242cd Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Tue, 17 Oct 2017 09:20:20 +0200 Subject: posix: Remove POSIX_API_Control::schedparam Move sporadic server scheduler parameters to POSIX_API_Control::Sporadic. Remove redundant scheduler priority parameter. Update #2514. --- cpukit/posix/src/pthread.c | 6 ------ 1 file changed, 6 deletions(-) (limited to 'cpukit/posix/src/pthread.c') diff --git a/cpukit/posix/src/pthread.c b/cpukit/posix/src/pthread.c index 291b19532d..8bd44ca03a 100644 --- a/cpukit/posix/src/pthread.c +++ b/cpukit/posix/src/pthread.c @@ -126,12 +126,6 @@ static bool _POSIX_Threads_Create_extension( api = created->API_Extensions[ THREAD_API_POSIX ]; - /* XXX check all fields are touched */ - api->schedparam.sched_priority = _POSIX_Priority_From_core( - _Thread_Scheduler_get_home( created ), - _Thread_Get_priority( created ) - ); - /* * If the thread is not a posix thread, then all posix signals are blocked * by default. -- cgit v1.2.3