summaryrefslogtreecommitdiffstats
path: root/cpukit/posix/src/prwlocktryrdlock.c
diff options
context:
space:
mode:
Diffstat (limited to 'cpukit/posix/src/prwlocktryrdlock.c')
-rw-r--r--cpukit/posix/src/prwlocktryrdlock.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/cpukit/posix/src/prwlocktryrdlock.c b/cpukit/posix/src/prwlocktryrdlock.c
index d88d4f2e1f..6a70de5931 100644
--- a/cpukit/posix/src/prwlocktryrdlock.c
+++ b/cpukit/posix/src/prwlocktryrdlock.c
@@ -45,9 +45,6 @@ int pthread_rwlock_tryrdlock(
Objects_Locations location;
Thread_Control *executing;
- if ( !rwlock )
- return EINVAL;
-
the_rwlock = _POSIX_RWLock_Get( rwlock, &location );
switch ( location ) {