[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20220831011248.28632-3-michel@lespinasse.org>
Date: Tue, 30 Aug 2022 18:12:46 -0700
From: Michel Lespinasse <michel@...pinasse.org>
To: Michael Roth <michael.roth@....com>,
Ard Biesheuvel <ardb@...nel.org>
Cc: linux-efi@...r.kernel.org, linux-kernel@...r.kernel.org,
Michel Lespinasse <michel@...pinasse.org>
Subject: [PATCH 2/4] Remove unused variable nr_tables in efi_get_rsdp_addr()
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@...pinasse.org>
---
arch/x86/boot/compressed/acpi.c | 1 -
1 file changed, 1 deletion(-)
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;
--
2.20.1
Powered by blists - more mailing lists