ソースを参照

[build] Remove unused __keepme macro

Signed-off-by: Michael Brown <mcb30@ipxe.org>
tags/v1.20.1
Michael Brown 9年前
コミット
334eed0cb5
1個のファイルの変更0行の追加8行の削除
  1. 0
    8
      src/include/compiler.h

+ 0
- 8
src/include/compiler.h ファイルの表示

@@ -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

読み込み中…
キャンセル
保存