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