summaryrefslogtreecommitdiff
path: root/usr/src/uts/common/os/strsubr.c
diff options
context:
space:
mode:
authorJonathan Adams <Jonathan.Adams@Sun.COM>2010-01-12 17:06:34 -0800
committerJonathan Adams <Jonathan.Adams@Sun.COM>2010-01-12 17:06:34 -0800
commit56f33205c9ed776c3c909e07d52e94610a675740 (patch)
tree7a0c9fb16d059f20cdf267568985fb237e43c9bf /usr/src/uts/common/os/strsubr.c
parent9217f8fd97307134fc9a37e74da9fc2dd246e58a (diff)
downloadillumos-joyent-56f33205c9ed776c3c909e07d52e94610a675740.tar.gz
4517853 debug.h should include macros to assert implication and equivalence
6915090 struct memlist should have ml_ member prefixes
Diffstat (limited to 'usr/src/uts/common/os/strsubr.c')
-rw-r--r--usr/src/uts/common/os/strsubr.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/usr/src/uts/common/os/strsubr.c b/usr/src/uts/common/os/strsubr.c
index c3d928c586..13ccd0263a 100644
--- a/usr/src/uts/common/os/strsubr.c
+++ b/usr/src/uts/common/os/strsubr.c
@@ -384,17 +384,6 @@ struct qinit passthru_winit = {
};
/*
- * Special form of assertion: verify that X implies Y i.e. when X is true Y
- * should also be true.
- */
-#define IMPLY(X, Y) ASSERT(!(X) || (Y))
-
-/*
- * Logical equivalence. Verify that both X and Y are either TRUE or FALSE.
- */
-#define EQUIV(X, Y) { IMPLY(X, Y); IMPLY(Y, X); }
-
-/*
* Verify correctness of list head/tail pointers.
*/
#define LISTCHECK(head, tail, link) { \