diff options
Diffstat (limited to 'cpukit/posix/src/prwlockunlock.c')
-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 ) { |