summaryrefslogtreecommitdiffstats
path: root/sys/net/vnet.h
diff options
context:
space:
mode:
authorzec <zec@FreeBSD.org>2009-08-14 22:41:39 +0000
committerzec <zec@FreeBSD.org>2009-08-14 22:41:39 +0000
commitb464f1dafc0e6b57446512ebbb01e4179aec9afb (patch)
tree8a4d2026e6f5fa71650c332ede6502997250c823 /sys/net/vnet.h
parentbf6acf798532962c108b5e0944b855cf7cfb5ff8 (diff)
downloadFreeBSD-src-b464f1dafc0e6b57446512ebbb01e4179aec9afb.zip
FreeBSD-src-b464f1dafc0e6b57446512ebbb01e4179aec9afb.tar.gz
Make VNET_DEBUG a standalone compile-time option, i.e. decouple it from
INVARIANTS. Reviewed by: bz Approved by: re (rwatson), julian (mentor)
Diffstat (limited to 'sys/net/vnet.h')
-rw-r--r--sys/net/vnet.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/sys/net/vnet.h b/sys/net/vnet.h
index 91de07a..116d7af 100644
--- a/sys/net/vnet.h
+++ b/sys/net/vnet.h
@@ -107,9 +107,6 @@ void vnet_destroy(struct vnet *vnet);
* Various macros -- get and set the current network stack, but also
* assertions.
*/
-#ifdef INVARIANTS
-#define VNET_DEBUG
-#endif
#ifdef VNET_DEBUG
#define VNET_ASSERT(condition) \
if (!(condition)) { \
OpenPOWER on IntegriCloud