Message ID | 20220831011248.28632-3-michel@lespinasse.org |
---|---|
State | New |
Headers | show |
Series | Remove unused variables resulting in CONFIG_EFI warnings | expand |
diff --git a/arch/x86/boot/compressed/acpi.c b/arch/x86/boot/compressed/acpi.c index 9caf89063e77..83a7977ef56f 100644 --- a/arch/x86/boot/compressed/acpi.c +++ b/arch/x86/boot/compressed/acpi.c @@ -52,7 +52,6 @@ static acpi_physical_address efi_get_rsdp_addr(void) unsigned long cfg_tbl_pa = 0; unsigned int cfg_tbl_len; unsigned long systab_pa; - unsigned int nr_tables; enum efi_type et; int ret;
This avoids a build warning with CONFIG_EFI enabled. Fixes: 61c14ceda840 (x86/compressed/acpi: Move EFI config table lookup to helper) Signed-off-by: Michel Lespinasse <michel@lespinasse.org> --- arch/x86/boot/compressed/acpi.c | 1 - 1 file changed, 1 deletion(-)