refactor(kernel): remove unused assert_allow_continue macro

This commit is contained in:
EnderIce2 2025-04-08 03:37:32 +00:00
parent 69122746de
commit a1b58bacd8
Signed by: enderice2
GPG Key ID: FEB6B8A8507BA62E

View File

@ -34,15 +34,6 @@ EXTERNC void __attribute__((noreturn)) HandleAssertionFailed(const char *File, i
} \
} while (0)
#define assert_allow_continue(x) \
do \
{ \
if (__builtin_expect(!!(!(x)), 0)) \
{ \
error("Assertion failed! [%s]", #x); \
} \
} while (0)
#if __STDC_VERSION__ >= 201112L && !defined(__cplusplus)
#define static_assert _Static_assert
#endif