Browse Source

[build] Remove unused __keepme macro

Signed-off-by: Michael Brown <mcb30@ipxe.org>
tags/v1.20.1
Michael Brown 9 years ago
parent
commit
334eed0cb5
1 changed files with 0 additions and 8 deletions
  1. 0
    8
      src/include/compiler.h

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

147
  */
147
  */
148
 #define __weak		__attribute__ (( weak, noinline ))
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
 #endif
150
 #endif
159
 
151
 
160
 /** @defgroup dbg Debugging infrastructure
152
 /** @defgroup dbg Debugging infrastructure

Loading…
Cancel
Save