mirror of
https://github.com/systemd/systemd-stable.git
synced 2025-01-13 13:17:43 +03:00
boot: Use FreePool from boot services directly
This should hopefully allow the compiler to optimize this a bit even when gnu-efi is not compiled with LTO.
This commit is contained in:
parent
27c106bab8
commit
2d1ac308c5
@ -79,7 +79,7 @@ static inline void free_poolp(void *p) {
|
||||
if (!q)
|
||||
return;
|
||||
|
||||
FreePool(q);
|
||||
(void) BS->FreePool(q);
|
||||
}
|
||||
|
||||
#define _cleanup_freepool_ _cleanup_(free_poolp)
|
||||
|
Loading…
x
Reference in New Issue
Block a user