diff options
author | jhb <jhb@FreeBSD.org> | 2000-11-07 18:51:42 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2000-11-07 18:51:42 +0000 |
commit | b7e0b7b9202253d38cab28ed4af6a0a869569d2c (patch) | |
tree | c448fa34e247a620f8399b8c81366e210d7377f3 | |
parent | 3e03c96525821f636a2426b887118bfb69f398a7 (diff) | |
download | FreeBSD-src-b7e0b7b9202253d38cab28ed4af6a0a869569d2c.zip FreeBSD-src-b7e0b7b9202253d38cab28ed4af6a0a869569d2c.tar.gz |
Remove the now unused and unneeded splassert macros and prototypes.
-rw-r--r-- | sys/sys/systm.h | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/sys/sys/systm.h b/sys/sys/systm.h index 45fae62..37b5fe3 100644 --- a/sys/sys/systm.h +++ b/sys/sys/systm.h @@ -75,15 +75,8 @@ extern int bootverbose; /* nonzero to print verbose messages */ #ifdef INVARIANTS /* The option is always available */ #define KASSERT(exp,msg) do { if (!(exp)) panic msg; } while (0) -#define SPLASSERT(level, msg) __CONCAT(__CONCAT(spl,level),assert)(msg) -#define CONDSPLASSERT(cond, level, msg) do { \ - if (cond) \ - SPLASSERT(level, msg); \ -} while (0) #else #define KASSERT(exp,msg) -#define SPLASSERT(level, msg) -#define CONDSPLASSERT(cond, level, msg) #endif /* @@ -237,25 +230,6 @@ void splz __P((void)); #include <machine/ipl.h> #endif -#ifdef INVARIANT_SUPPORT -void splbioassert __P((const char *msg)); -void splcamassert __P((const char *msg)); -void splclockassert __P((const char *msg)); -void splhighassert __P((const char *msg)); -void splimpassert __P((const char *msg)); -void splnetassert __P((const char *msg)); -void splsoftcamassert __P((const char *msg)); -void splsoftcambioassert __P((const char *msg)); -void splsoftcamnetassert __P((const char *msg)); -void splsoftclockassert __P((const char *msg)); -void splsoftttyassert __P((const char *msg)); -void splsoftvmassert __P((const char *msg)); -void splsofttqassert __P((const char *msg)); -void splstatclockassert __P((const char *msg)); -void splttyassert __P((const char *msg)); -void splvmassert __P((const char *msg)); -#endif /* INVARIANT_SUPPORT */ - /* * XXX It's not clear how "machine independent" these will be yet, but * they are used all over the place especially in pci drivers. We would |