summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2016-06-14 17:01:52 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2016-06-22 14:00:27 +0200
commit4da078a8ad7542d19d49134c1867dfbcfe0f23e2 (patch)
tree24ca2ca6bf9470d6b49ece81a39e2400e1cb9420
parentposix: _POSIX_Mutex_Default_attributes (diff)
downloadrtems-4da078a8ad7542d19d49134c1867dfbcfe0f23e2.tar.bz2
posix: Delete POSIX_API_Control::ss_high_priority
This field was unused.
-rw-r--r--cpukit/posix/include/rtems/posix/threadsup.h5
-rw-r--r--cpukit/posix/src/pthreadsetschedparam.c4
2 files changed, 0 insertions, 9 deletions
diff --git a/cpukit/posix/include/rtems/posix/threadsup.h b/cpukit/posix/include/rtems/posix/threadsup.h
index 51c9564c64..60bf0e46da 100644
--- a/cpukit/posix/include/rtems/posix/threadsup.h
+++ b/cpukit/posix/include/rtems/posix/threadsup.h
@@ -52,11 +52,6 @@ typedef struct {
/** This is the thread's current set of scheduling parameters. */
struct sched_param schedparam;
/**
- * This is the high priority to execute at when using the sporadic
- * scheduler.
- */
- int ss_high_priority;
- /**
* This is the timer which controls when the thread executes at
* high and low priority when using the sporadic scheduler.
*/
diff --git a/cpukit/posix/src/pthreadsetschedparam.c b/cpukit/posix/src/pthreadsetschedparam.c
index a6882b9823..55019dd690 100644
--- a/cpukit/posix/src/pthreadsetschedparam.c
+++ b/cpukit/posix/src/pthreadsetschedparam.c
@@ -100,10 +100,6 @@ int pthread_setschedparam(
rtems_configuration_get_ticks_per_timeslice();
new_priority = _POSIX_Priority_To_core( api->schedparam.sched_priority );
break;
-
- case SCHED_SPORADIC:
- api->ss_high_priority = api->schedparam.sched_priority;
- break;
}
_Thread_State_release( the_thread, &lock_context );