From 3c54879a28c4cdbef9dbd59246b7de8c0536dabc Mon Sep 17 00:00:00 2001 From: rpj Date: Fri, 13 Feb 2004 06:20:43 +0000 Subject: Remove redundant equality logic. --- pthread_equal.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pthread_equal.c') diff --git a/pthread_equal.c b/pthread_equal.c index 945c2b5..ce9372e 100644 --- a/pthread_equal.c +++ b/pthread_equal.c @@ -69,7 +69,7 @@ pthread_equal (pthread_t t1, pthread_t t2) * We also accept NULL == NULL - treating NULL as a thread * for this special case, because there is no error that we can return. */ - result = ( ( t1 == t2 ) && ( t1 == NULL || ( t1->thread == t2->thread ) ) ); + result = ( t1 == t2 ); return (result); -- cgit v1.2.3