From: Jeroen Hofstee Date: Wed, 17 Sep 2014 18:33:48 +0000 (+0200) Subject: compiler.h: remove duplicated uninitialized_var X-Git-Tag: v2014.10-rc3~28 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=87f13aa00d0279fcc96530404c3a104eb4cb1672;p=oweals%2Fu-boot.git compiler.h: remove duplicated uninitialized_var Since clang has a different definition for uninitialized_var it will complain that it is redefined in include/compiler.h. Since these are already defined in linux/compiler.h just remove this instance. Cc: Masahiro Yamada Cc: Tom Rini Signed-off-by: Jeroen Hofstee --- diff --git a/include/compiler.h b/include/compiler.h index 9afc11be19..14519163a3 100644 --- a/include/compiler.h +++ b/include/compiler.h @@ -129,9 +129,6 @@ typedef unsigned long int uintptr_t; #endif /* USE_HOSTCC */ -/* compiler options */ -#define uninitialized_var(x) x = x - #define likely(x) __builtin_expect(!!(x), 1) #define unlikely(x) __builtin_expect(!!(x), 0)