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_ */ _______________________________________________ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"