PERFORCE change 71659 for review

David Xu davidxu at FreeBSD.org
Wed Feb 23 13:25:34 GMT 2005


http://perforce.freebsd.org/chv.cgi?CH=71659

Change 71659 by davidxu at davidxu_alona on 2005/02/23 13:25:13

	Simplify code.

Affected files ...

.. //depot/projects/davidxu_thread/src/lib/libthread/thread/thr_cond.c#13 edit

Differences ...

==== //depot/projects/davidxu_thread/src/lib/libthread/thread/thr_cond.c#13 (text+ko) ====

@@ -265,10 +265,7 @@
 int
 __pthread_cond_wait(pthread_cond_t *cond, pthread_mutex_t *mutex)
 {
-	int ret;
-
-	ret = cond_wait_common(cond, mutex, NULL, 1);
-	return (ret);
+	return cond_wait_common(cond, mutex, NULL, 1);
 }
 
 int


More information about the p4-projects mailing list