From owner-cvs-src@FreeBSD.ORG Wed Feb 18 07:22:53 2004 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 830E316A4CE; Wed, 18 Feb 2004 07:22:53 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 66CC043D2F; Wed, 18 Feb 2004 07:22:53 -0800 (PST) (envelope-from mtm@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.10/8.12.10) with ESMTP id i1IFMrGe022251; Wed, 18 Feb 2004 07:22:53 -0800 (PST) (envelope-from mtm@repoman.freebsd.org) Received: (from mtm@localhost) by repoman.freebsd.org (8.12.10/8.12.10/Submit) id i1IFMq3A022250; Wed, 18 Feb 2004 07:22:52 -0800 (PST) (envelope-from mtm) Message-Id: <200402181522.i1IFMq3A022250@repoman.freebsd.org> From: Mike Makonnen Date: Wed, 18 Feb 2004 07:22:52 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/lib/libthr/thread thr_mutex_prioceiling.c thr_mutex_protocol.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Feb 2004 15:22:53 -0000 mtm 2004/02/18 07:22:52 PST FreeBSD src repository Modified files: lib/libthr/thread thr_mutex_prioceiling.c thr_mutex_protocol.c Log: o Style o Instead of checking both the passed in pointer and its value for NULL, only check the latter. Any caller that passes in a NULL pointer is obviously wrong. Revision Changes Path 1.3 +30 -30 src/lib/libthr/thread/thr_mutex_prioceiling.c 1.2 +10 -19 src/lib/libthr/thread/thr_mutex_protocol.c