Remove unnecessary semicolon from CRITICAL_ASSERT()

This fixes off-by-default "empty statement" compiler warnings.
This commit is contained in:
Alex Richardson 2021-03-04 15:06:32 +00:00
parent 0072e5e0f3
commit b2c8cbf992

View File

@ -193,7 +193,7 @@ void kassert_panic(const char *fmt, ...) __printflike(1, 2);
* Assert that a thread is in critical(9) section.
*/
#define CRITICAL_ASSERT(td) \
KASSERT((td)->td_critnest >= 1, ("Not in critical section"));
KASSERT((td)->td_critnest >= 1, ("Not in critical section"))
/*
* If we have already panic'd and this is the thread that called