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>
This commit is contained in:
Rasmus Villemoes
2025-06-04 21:56:09 +02:00
committed by Tom Rini
parent 01869368c0
commit 83b040983c

View File

@@ -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