From 334eed0cb5473f76789908644a160a8fe814c9cc Mon Sep 17 00:00:00 2001 From: Michael Brown Date: Tue, 3 Mar 2015 16:08:39 +0000 Subject: [PATCH] [build] Remove unused __keepme macro Signed-off-by: Michael Brown --- src/include/compiler.h | 8 -------- 1 file changed, 8 deletions(-) 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