diff options
Diffstat (limited to 'cpukit/posix/src/prwlockwrlock.c')
-rw-r--r-- | cpukit/posix/src/prwlockwrlock.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/cpukit/posix/src/prwlockwrlock.c b/cpukit/posix/src/prwlockwrlock.c index f6846194c4..67774648ad 100644 --- a/cpukit/posix/src/prwlockwrlock.c +++ b/cpukit/posix/src/prwlockwrlock.c @@ -47,9 +47,6 @@ int pthread_rwlock_wrlock( Objects_Locations location; Thread_Control *executing; - if ( !rwlock ) - return EINVAL; - the_rwlock = _POSIX_RWLock_Get( rwlock, &location ); switch ( location ) { |