summaryrefslogtreecommitdiffstats
path: root/src/include/compiler.h
diff options
context:
space:
mode:
authorMichael Brown2015-03-03 17:08:39 +0100
committerMichael Brown2015-03-03 17:08:39 +0100
commit334eed0cb5473f76789908644a160a8fe814c9cc (patch)
tree1dd7dd6a0ef640db438f8f488140d3fbfb049524 /src/include/compiler.h
parent[build] Remove unused IMPORT_SYMBOL() and EXPORT_SYMBOL() macros (diff)
downloadipxe-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.h8
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