From owner-p4-projects@FreeBSD.ORG Wed Feb 23 13:25:34 2005 Return-Path: Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id 20D7416A4D0; Wed, 23 Feb 2005 13:25:34 +0000 (GMT) Delivered-To: perforce@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EBE0A16A4CE for ; Wed, 23 Feb 2005 13:25:33 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id BE67843D3F for ; Wed, 23 Feb 2005 13:25:33 +0000 (GMT) (envelope-from davidxu@freebsd.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.1/8.13.1) with ESMTP id j1NDPXma055958 for ; Wed, 23 Feb 2005 13:25:33 GMT (envelope-from davidxu@freebsd.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id j1NDPXM9055955 for perforce@freebsd.org; Wed, 23 Feb 2005 13:25:33 GMT (envelope-from davidxu@freebsd.org) Date: Wed, 23 Feb 2005 13:25:33 GMT Message-Id: <200502231325.j1NDPXM9055955@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: perforce set sender to davidxu@freebsd.org using -f From: David Xu To: Perforce Change Reviews Subject: PERFORCE change 71659 for review X-BeenThere: p4-projects@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: p4 projects tree changes List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Feb 2005 13:25:34 -0000 http://perforce.freebsd.org/chv.cgi?CH=71659 Change 71659 by davidxu@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