From: Michael Brown Date: Tue, 3 Mar 2015 16:08:39 +0000 (+0000) Subject: [build] Remove unused __keepme macro X-Git-Tag: v1.20.1~923 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=334eed0cb5473f76789908644a160a8fe814c9cc;p=thirdparty%2Fipxe.git [build] Remove unused __keepme macro Signed-off-by: Michael Brown --- diff --git a/src/include/compiler.h b/src/include/compiler.h index a780d3efe..0b6f61a3f 100644 --- a/src/include/compiler.h +++ b/src/include/compiler.h @@ -147,14 +147,6 @@ REQUEST_EXPANDED ( CONFIG_SYMBOL ); */ #define __weak __attribute__ (( weak, noinline )) -/** Prevent a function from being optimized away without inlining - * - * Calls to functions with void return type that contain no code in their body - * may be removed by gcc's optimizer even when inlining is inhibited. Placing - * this macro in the body of the function prevents that from occurring. - */ -#define __keepme asm(""); - #endif /** @defgroup dbg Debugging infrastructure