Remove unnecessary semicolon from CRITICAL_ASSERT()

This fixes off-by-default "empty statement" compiler warnings.

(cherry picked from commit b2c8cbf992)
This commit is contained in:
Alex Richardson 2021-03-04 15:06:32 +00:00
parent 4159566e56
commit ff6dded021

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