diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2014-10-08 10:31:36 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2014-10-08 11:26:27 +0200 |
commit | b9f952254b7f9afeb287ab6d846a56a512a480d3 (patch) | |
tree | 67d466d323a07abad18465bbfa1572097bb645ab /cpukit/posix/src/prwlockunlock.c | |
parent | posix: Fix mutex auto initialization (diff) | |
download | rtems-b9f952254b7f9afeb287ab6d846a56a512a480d3.tar.bz2 |
posix: Add auto initializaton for rwlock
Diffstat (limited to '')
-rw-r--r-- | cpukit/posix/src/prwlockunlock.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/cpukit/posix/src/prwlockunlock.c b/cpukit/posix/src/prwlockunlock.c index 98056ede75..9b61a5c897 100644 --- a/cpukit/posix/src/prwlockunlock.c +++ b/cpukit/posix/src/prwlockunlock.c @@ -47,9 +47,6 @@ int pthread_rwlock_unlock( Objects_Locations location; CORE_RWLock_Status status; - if ( !rwlock ) - return EINVAL; - the_rwlock = _POSIX_RWLock_Get( rwlock, &location ); switch ( location ) { |