diff --git a/sys/sys/kassert.h b/sys/sys/kassert.h index 8dcea8352fd..7755a241888 100644 --- a/sys/sys/kassert.h +++ b/sys/sys/kassert.h @@ -47,14 +47,10 @@ extern const char *panicstr; /* panic message */ * * DEBUG_POISON_POINTER(obj->ptr); * .... - * if (obj->ptr != NULL) // traps with kasan, does not trap otherwise - * .... - * if (obj->ptr->field) // traps with and without kasan + * if (obj->ptr->field) // traps */ #ifdef INVARIANTS -#include - extern caddr_t poisoned_buf; #define DEBUG_POISON_POINTER_VALUE poisoned_buf