diff --git a/arch/x86/core/fatal.c b/arch/x86/core/fatal.c index 6bcc66ff878..fffddf5d4b9 100644 --- a/arch/x86/core/fatal.c +++ b/arch/x86/core/fatal.c @@ -91,7 +91,7 @@ static void unwind_stack(u32_t base_ptr, u16_t cs) } frame = (struct stack_frame *)base_ptr; - if ((frame == NULL)) { + if (frame == NULL) { break; }