diff options
author | Michael Brown | 2015-03-03 17:08:39 +0100 |
---|---|---|
committer | Michael Brown | 2015-03-03 17:08:39 +0100 |
commit | 334eed0cb5473f76789908644a160a8fe814c9cc (patch) | |
tree | 1dd7dd6a0ef640db438f8f488140d3fbfb049524 /src/include/compiler.h | |
parent | [build] Remove unused IMPORT_SYMBOL() and EXPORT_SYMBOL() macros (diff) | |
download | ipxe-334eed0cb5473f76789908644a160a8fe814c9cc.tar.gz ipxe-334eed0cb5473f76789908644a160a8fe814c9cc.tar.xz ipxe-334eed0cb5473f76789908644a160a8fe814c9cc.zip |
[build] Remove unused __keepme macro
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/include/compiler.h')
-rw-r--r-- | src/include/compiler.h | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/include/compiler.h b/src/include/compiler.h index a780d3ef..0b6f61a3 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 |