From b7e0b7b9202253d38cab28ed4af6a0a869569d2c Mon Sep 17 00:00:00 2001 From: jhb Date: Tue, 7 Nov 2000 18:51:42 +0000 Subject: Remove the now unused and unneeded splassert macros and prototypes. --- sys/sys/systm.h | 26 -------------------------- 1 file changed, 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 #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 -- cgit v1.1