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. --- testsuites/psxtests/psxgetattrnp01/init.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'testsuites') diff --git a/testsuites/psxtests/psxgetattrnp01/init.c b/testsuites/psxtests/psxgetattrnp01/init.c index afde4a210e..19981573d1 100644 --- a/testsuites/psxtests/psxgetattrnp01/init.c +++ b/testsuites/psxtests/psxgetattrnp01/init.c @@ -62,11 +62,7 @@ static int attribute_compare( if ( attr1->schedpolicy != attr2->schedpolicy ) return 1; - if (memcmp( - &attr1->schedparam, - &attr2->schedparam, - sizeof(struct sched_param) - )) + if ( attr1->schedparam.sched_priority != attr2->schedparam.sched_priority ) return 1; #if HAVE_DECL_PTHREAD_ATTR_SETGUARDSIZE -- cgit v1.2.3