]> git.ipfire.org Git - thirdparty/open-vm-tools.git/commitdiff
Remove ASSERT_OR_IN_PANIC() from public/vm_assert.h
authorVMware, Inc <>
Wed, 18 Sep 2013 03:41:07 +0000 (20:41 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Mon, 23 Sep 2013 05:30:00 +0000 (22:30 -0700)
Signed-off-by: Dmitry Torokhov <dtor@vmware.com>
open-vm-tools/lib/include/vm_assert.h

index be8c6d4204748f584a0cdca216e0f62db51043c8..d311749b94542412588dcdb225229a9aca8432f1 100644 (file)
@@ -208,10 +208,6 @@ EXTERN void WarningThrottled(uint32 *count, const char *fmt, ...)
 #define PANIC()        _ASSERT_PANIC(AssertPanic)
 #define PANIC_BUG(bug) _ASSERT_PANIC_BUG(bug, AssertPanic)
 
-#ifdef VMKERNEL
-#define ASSERT_OR_IN_PANIC(cond) ASSERT((cond) || Panic_IsSystemInPanic())
-#endif
-
 #define ASSERT_NOT_IMPLEMENTED(cond) \
            ASSERT_IFNOT(cond, NOT_IMPLEMENTED())
 #define ASSERT_NOT_IMPLEMENTED_BUG(bug, cond) \