diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2015-04-22 21:29:21 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2015-04-23 08:55:43 +0200 |
commit | 9f10911d2b653859f7199eaed5a85a24803711dc (patch) | |
tree | 3dcee8b9f5ad179e8a82b852c7ad5837d30abbb0 /cpukit/score/src/corerwlock.c | |
parent | score: Fix priority message queue insert (diff) | |
download | rtems-9f10911d2b653859f7199eaed5a85a24803711dc.tar.bz2 |
score: Delete Thread_queue_Control::state
Use a parameter for _Thread_queue_Enqueue() instead to reduce memory
usage.
Diffstat (limited to 'cpukit/score/src/corerwlock.c')
-rw-r--r-- | cpukit/score/src/corerwlock.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/cpukit/score/src/corerwlock.c b/cpukit/score/src/corerwlock.c index 0c66f52238..0d47db4b23 100644 --- a/cpukit/score/src/corerwlock.c +++ b/cpukit/score/src/corerwlock.c @@ -19,7 +19,6 @@ #endif #include <rtems/score/corerwlockimpl.h> -#include <rtems/score/statesimpl.h> #include <rtems/score/threadqimpl.h> void _CORE_RWLock_Initialize( @@ -38,7 +37,6 @@ void _CORE_RWLock_Initialize( _Thread_queue_Initialize( &the_rwlock->Wait_queue, THREAD_QUEUE_DISCIPLINE_FIFO, - STATES_WAITING_FOR_RWLOCK, CORE_RWLOCK_TIMEOUT ); } |