Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 19 May 2018 05:12:57 +0000 (UTC)
From:      Matt Macy <mmacy@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r333862 - head/sys/sys
Message-ID:  <201805190512.w4J5CvWK058331@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: mmacy
Date: Sat May 19 05:12:57 2018
New Revision: 333862
URL: https://svnweb.freebsd.org/changeset/base/333862

Log:
  back out DBGSET macro

Modified:
  head/sys/sys/systm.h

Modified: head/sys/sys/systm.h
==============================================================================
--- head/sys/sys/systm.h	Sat May 19 05:12:18 2018	(r333861)
+++ head/sys/sys/systm.h	Sat May 19 05:12:57 2018	(r333862)
@@ -85,7 +85,6 @@ void	kassert_panic(const char *fmt, ...)  __printflike
 #endif
 
 #ifdef	INVARIANTS		/* The option is always available */
-#define	DBGSET(lhs, rhs) lhs = (rhs)
 #define	KASSERT(exp,msg) do {						\
 	if (__predict_false(!(exp)))					\
 		kassert_panic msg;					\
@@ -97,7 +96,6 @@ void	kassert_panic(const char *fmt, ...)  __printflike
 	}								\
 } while (0)
 #else
-#define	DBGSET(lhs, rhs) rhs
 #define	KASSERT(exp,msg) do { \
 } while (0)
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201805190512.w4J5CvWK058331>