compiler.h: remove duplicated uninitialized_var
authorJeroen Hofstee <jeroen@myspectrum.nl>
Wed, 17 Sep 2014 18:33:48 +0000 (20:33 +0200)
committerTom Rini <trini@ti.com>
Wed, 24 Sep 2014 22:30:29 +0000 (18:30 -0400)
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 <yamada.m@jp.panasonic.com>
Cc: Tom Rini <trini@ti.com>
Signed-off-by: Jeroen Hofstee <jeroen@myspectrum.nl>
include/compiler.h

index 9afc11be1942d6b9e2c4ba19ed059fd288447685..14519163a32bfa13d2df16a22d66735b28b52138 100644 (file)
@@ -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)