diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2016-04-15 16:27:56 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2016-04-21 07:29:37 +0200 |
commit | bbd6d27af8102bc1c89031c78c5a458c1af06cee (patch) | |
tree | 765df067f8c9694326bbb4d42bbea146194b1735 /cpukit/score/src/corerwlock.c | |
parent | sptests/spsysinit01: Fix warning (diff) | |
download | rtems-bbd6d27af8102bc1c89031c78c5a458c1af06cee.tar.bz2 |
score: Delete unused CORE_RWLock_Attributes
Diffstat (limited to 'cpukit/score/src/corerwlock.c')
-rw-r--r-- | cpukit/score/src/corerwlock.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/cpukit/score/src/corerwlock.c b/cpukit/score/src/corerwlock.c index 23bb5e29e3..eae62584e9 100644 --- a/cpukit/score/src/corerwlock.c +++ b/cpukit/score/src/corerwlock.c @@ -22,15 +22,9 @@ #include <rtems/score/threadqimpl.h> void _CORE_RWLock_Initialize( - CORE_RWLock_Control *the_rwlock, - CORE_RWLock_Attributes *the_rwlock_attributes + CORE_RWLock_Control *the_rwlock ) { - - the_rwlock->Attributes = *the_rwlock_attributes; -/* - the_rwlock->number_of_waiting_threads = 0; -*/ the_rwlock->number_of_readers = 0; the_rwlock->current_state = CORE_RWLOCK_UNLOCKED; |