From owner-svn-src-head@FreeBSD.ORG Tue Nov 13 18:24:48 2012 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 52632606; Tue, 13 Nov 2012 18:24:48 +0000 (UTC) (envelope-from attilio@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) by mx1.freebsd.org (Postfix) with ESMTP id 370B38FC08; Tue, 13 Nov 2012 18:24:48 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.5/8.14.5) with ESMTP id qADIOm8V095959; Tue, 13 Nov 2012 18:24:48 GMT (envelope-from attilio@svn.freebsd.org) Received: (from attilio@localhost) by svn.freebsd.org (8.14.5/8.14.5/Submit) id qADIOmqx095958; Tue, 13 Nov 2012 18:24:48 GMT (envelope-from attilio@svn.freebsd.org) Message-Id: <201211131824.qADIOmqx095958@svn.freebsd.org> From: Attilio Rao Date: Tue, 13 Nov 2012 18:24:48 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r242988 - head/sys/sys X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Nov 2012 18:24:48 -0000 Author: attilio Date: Tue Nov 13 18:24:47 2012 New Revision: 242988 URL: http://svnweb.freebsd.org/changeset/base/242988 Log: Remove unused/obsolete macros. MFC after: 3 days Modified: head/sys/sys/lock.h Modified: head/sys/sys/lock.h ============================================================================== --- head/sys/sys/lock.h Tue Nov 13 17:16:03 2012 (r242987) +++ head/sys/sys/lock.h Tue Nov 13 18:24:47 2012 (r242988) @@ -304,16 +304,5 @@ void witness_thread_exit(struct thread * #define WITNESS_LINE(lock) (0) #endif /* WITNESS */ -/* - * Helper macros to allow developers to add explicit lock order checks - * wherever they please without having to actually grab a lock to do so. - */ -#define witness_check(l) \ - WITNESS_CHECKORDER(&(l)->lock_object, LOP_EXCLUSIVE, LOCK_FILE, \ - LOCK_LINE, NULL) - -#define witness_check_shared(l) \ - WITNESS_CHECKORDER(&(l)->lock_object, 0, LOCK_FILE, LOCK_LINE, NULL) - #endif /* _KERNEL */ #endif /* _SYS_LOCK_H_ */