Sfoglia il codice sorgente

[build] Remove unused __keepme macro

Signed-off-by: Michael Brown <mcb30@ipxe.org>
tags/v1.20.1
Michael Brown 9 anni fa
parent
commit
334eed0cb5
1 ha cambiato i file con 0 aggiunte e 8 eliminazioni
  1. 0
    8
      src/include/compiler.h

+ 0
- 8
src/include/compiler.h Vedi File

@@ -147,14 +147,6 @@ REQUEST_EXPANDED ( CONFIG_SYMBOL );
147 147
  */
148 148
 #define __weak		__attribute__ (( weak, noinline ))
149 149
 
150
-/** Prevent a function from being optimized away without inlining
151
- *
152
- * Calls to functions with void return type that contain no code in their body
153
- * may be removed by gcc's optimizer even when inlining is inhibited. Placing
154
- * this macro in the body of the function prevents that from occurring.
155
- */
156
-#define __keepme	asm("");
157
-
158 150
 #endif
159 151
 
160 152
 /** @defgroup dbg Debugging infrastructure

Loading…
Annulla
Salva