From 6bab009a61ae9ca7f7ac76140f8f13fbaab784c6 Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Tue, 14 Jun 2016 17:23:03 +0200 Subject: posix: Delete POSIX_API_Control::schedparam This field was redundant. --- cpukit/posix/src/pthreadcreate.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'cpukit/posix/src/pthreadcreate.c') diff --git a/cpukit/posix/src/pthreadcreate.c b/cpukit/posix/src/pthreadcreate.c index 019ccc86a8..c7c233857a 100644 --- a/cpukit/posix/src/pthreadcreate.c +++ b/cpukit/posix/src/pthreadcreate.c @@ -111,7 +111,7 @@ int pthread_create( case PTHREAD_INHERIT_SCHED: api = executing->API_Extensions[ THREAD_API_POSIX ]; schedpolicy = api->Attributes.schedpolicy; - schedparam = api->schedparam; + schedparam = api->Attributes.schedparam; break; case PTHREAD_EXPLICIT_SCHED: @@ -226,7 +226,6 @@ int pthread_create( api = the_thread->API_Extensions[ THREAD_API_POSIX ]; _POSIX_Threads_Copy_attributes( &api->Attributes, the_attr ); - api->schedparam = schedparam; if ( schedpolicy == SCHED_SPORADIC ) { _ISR_lock_ISR_disable( &lock_context ); -- cgit v1.2.3