svn commit: r333862 - head/sys/sys
Matt Macy
mmacy at FreeBSD.org
Sat May 19 05:12:58 UTC 2018
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)
More information about the svn-src-all
mailing list