summaryrefslogtreecommitdiff
path: root/lib/efi_loader/efi_boottime.c
diff options
context:
space:
mode:
authorRasmus Villemoes <ravi@prevas.dk>2025-06-04 21:56:09 +0200
committerTom Rini <trini@konsulko.com>2025-06-13 16:57:15 -0600
commit83b040983c92446c284c7b4ee5f97c60c6ab5afc (patch)
tree025b0b59fb35a8f5c41223faa143da85a96b0ab2 /lib/efi_loader/efi_boottime.c
parent01869368c08278d19a0b7ec744013bc88afcf09a (diff)
efi: drop volatile qualifier from "save gd" variables
The global gd pointer is no longer volatile-qualified, so drop that qualifier from these bookkeeping variables. Signed-off-by: Rasmus Villemoes <ravi@prevas.dk> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Diffstat (limited to 'lib/efi_loader/efi_boottime.c')
-rw-r--r--lib/efi_loader/efi_boottime.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/efi_loader/efi_boottime.c b/lib/efi_loader/efi_boottime.c
index 24b0e52a2a2..754bc6a6519 100644
--- a/lib/efi_loader/efi_boottime.c
+++ b/lib/efi_loader/efi_boottime.c
@@ -58,7 +58,7 @@ static efi_handle_t current_image;
* restriction so we need to manually swap its and our view of that register on
* EFI callback entry/exit.
*/
-static volatile gd_t *efi_gd, *app_gd;
+static gd_t *efi_gd, *app_gd;
#endif
efi_status_t efi_uninstall_protocol