mirror of
https://github.com/ipxe/ipxe
synced 2025-12-21 12:30:20 +03:00
[build] Remove unused __keepme macro
Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user