summaryrefslogtreecommitdiffstats
path: root/cpukit/score/src/corerwlock.c
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2016-04-15 16:27:56 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2016-04-21 07:29:37 +0200
commitbbd6d27af8102bc1c89031c78c5a458c1af06cee (patch)
tree765df067f8c9694326bbb4d42bbea146194b1735 /cpukit/score/src/corerwlock.c
parentsptests/spsysinit01: Fix warning (diff)
downloadrtems-bbd6d27af8102bc1c89031c78c5a458c1af06cee.tar.bz2
score: Delete unused CORE_RWLock_Attributes
Diffstat (limited to 'cpukit/score/src/corerwlock.c')
-rw-r--r--cpukit/score/src/corerwlock.c8
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;