From 48c6548d6addf89bfffcd20b17ef918ba15b4210 Mon Sep 17 00:00:00 2001 From: Flavio Ceolin Date: Mon, 4 Mar 2019 14:37:34 -0800 Subject: [PATCH] x86: core: Remove extra parenthesis Extra parenthis was raising a warning when building using Clang/llvm Signed-off-by: Flavio Ceolin --- arch/x86/core/fatal.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }