diff options
author | Jan Janssen <medhefgo@web.de> | 2022-01-13 13:47:39 +0100 |
---|---|---|
committer | Jan Janssen <medhefgo@web.de> | 2022-01-13 14:30:51 +0100 |
commit | 2d1ac308c55739221ccd4d50fcdf279151831af8 (patch) | |
tree | b08b79989af3e0108b348dc169c5e889763a9360 | |
parent | 27c106bab838aa7e6544896e657161f541fe8072 (diff) | |
download | systemd-2d1ac308c55739221ccd4d50fcdf279151831af8.tar.gz |
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.
-rw-r--r-- | src/boot/efi/util.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/boot/efi/util.h b/src/boot/efi/util.h index 0c477fccf1..9e8db3e7c9 100644 --- a/src/boot/efi/util.h +++ b/src/boot/efi/util.h @@ -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) |