mirror of https://github.com/ipxe/ipxe.git
[build] Remove unused __keepme macro
Signed-off-by: Michael Brown <mcb30@ipxe.org>pull/34/head
parent
30d356b455
commit
334eed0cb5
|
@ -147,14 +147,6 @@ REQUEST_EXPANDED ( CONFIG_SYMBOL );
|
||||||
*/
|
*/
|
||||||
#define __weak __attribute__ (( weak, noinline ))
|
#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
|
#endif
|
||||||
|
|
||||||
/** @defgroup dbg Debugging infrastructure
|
/** @defgroup dbg Debugging infrastructure
|
||||||
|
|
Loading…
Reference in New Issue