diff options
Diffstat (limited to 'cpukit/score/src/coresem.c')
-rw-r--r-- | cpukit/score/src/coresem.c | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/cpukit/score/src/coresem.c b/cpukit/score/src/coresem.c index 2bdd81c76a..e928f3d3a5 100644 --- a/cpukit/score/src/coresem.c +++ b/cpukit/score/src/coresem.c @@ -21,18 +21,11 @@ #include <rtems/score/coresemimpl.h> void _CORE_semaphore_Initialize( - CORE_semaphore_Control *the_semaphore, - CORE_semaphore_Disciplines discipline, - uint32_t initial_value + CORE_semaphore_Control *the_semaphore, + uint32_t initial_value ) { the_semaphore->count = initial_value; _Thread_queue_Initialize( &the_semaphore->Wait_queue ); - - if ( discipline == CORE_SEMAPHORE_DISCIPLINES_PRIORITY ) { - the_semaphore->operations = &_Thread_queue_Operations_priority; - } else { - the_semaphore->operations = &_Thread_queue_Operations_FIFO; - } } |