All of lore.kernel.org
 help / color / mirror / Atom feed
From: Michel Lespinasse <michel@lespinasse.org>
To: Michael Roth <michael.roth@amd.com>, Ard Biesheuvel <ardb@kernel.org>
Cc: linux-efi@vger.kernel.org, linux-kernel@vger.kernel.org,
	Michel Lespinasse <michel@lespinasse.org>
Subject: [PATCH 4/4] Remove unused variable ret in __efi_get_rsdp_addr()
Date: Tue, 30 Aug 2022 18:12:48 -0700	[thread overview]
Message-ID: <20220831011248.28632-5-michel@lespinasse.org> (raw)
In-Reply-To: <20220831011248.28632-1-michel@lespinasse.org>

This avoids a build warning with CONFIG_EFI enabled.

Fixes: dee602dd5d14 (x86/compressed/acpi: Move EFI vendor table lookup to helper)
Signed-off-by: Michel Lespinasse <michel@lespinasse.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 83a7977ef56f..21febd9f21ab 100644
--- a/arch/x86/boot/compressed/acpi.c
+++ b/arch/x86/boot/compressed/acpi.c
@@ -24,7 +24,6 @@ __efi_get_rsdp_addr(unsigned long cfg_tbl_pa, unsigned int cfg_tbl_len)
 {
 #ifdef CONFIG_EFI
 	unsigned long rsdp_addr;
-	int ret;
 
 	/*
 	 * Search EFI system tables for RSDP. Preferred is ACPI_20_TABLE_GUID to
-- 
2.20.1


      parent reply	other threads:[~2022-08-31  1:49 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-08-31  1:12 [PATCH 0/4] Remove unused variables resulting in CONFIG_EFI warnings Michel Lespinasse
2022-08-31  1:12 ` [PATCH 1/4] Remove unused variable et in efi_get_system_table() Michel Lespinasse
2022-09-05 10:18   ` Ard Biesheuvel
2022-08-31  1:12 ` [PATCH 2/4] Remove unused variable nr_tables in efi_get_rsdp_addr() Michel Lespinasse
2022-08-31  1:12 ` [PATCH 3/4] Remove unused variable ret in efi_get_conf_table() Michel Lespinasse
2022-09-05 10:20   ` Ard Biesheuvel
2022-08-31  1:12 ` Michel Lespinasse [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220831011248.28632-5-michel@lespinasse.org \
    --to=michel@lespinasse.org \
    --cc=ardb@kernel.org \
    --cc=linux-efi@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=michael.roth@amd.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.