From ea7ba77be99f3d0729b4c30a50f504d0f8744bd7 Mon Sep 17 00:00:00 2001 From: Erik Faye-Lund Date: Wed, 8 Jun 2022 11:08:45 +0200 Subject: [PATCH] gallium: remove repeated check This is already inside an "#if defined(__GNUC__)" conditional, there's no need to repeat the __GNUC__-check. Reviewed-by: Jesse Natalie Part-of: --- src/gallium/include/pipe/p_compiler.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gallium/include/pipe/p_compiler.h b/src/gallium/include/pipe/p_compiler.h index dfcfa196cfb..b951ac108b3 100644 --- a/src/gallium/include/pipe/p_compiler.h +++ b/src/gallium/include/pipe/p_compiler.h @@ -120,7 +120,7 @@ typedef unsigned char boolean; /* See http://gcc.gnu.org/onlinedocs/gcc-4.4.2/gcc/Variable-Attributes.html */ #define PIPE_ALIGN_VAR(_alignment) __attribute__((aligned(_alignment))) -#if defined(__GNUC__) && defined(PIPE_ARCH_X86) +#ifdef PIPE_ARCH_X86 #define PIPE_ALIGN_STACK __attribute__((force_align_arg_pointer)) #else #define PIPE_ALIGN_STACK