summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArvind Sankar <nivedita@alum.mit.edu>2020-06-18 15:10:59 -0400
committerArd Biesheuvel <ardb@kernel.org>2020-06-25 18:06:10 +0200
commit0bda49f30ca48998102eb0a0b53970c3a3558be0 (patch)
treebad4b1149d06eb44f0501af6f49be7a5c39d316c
parent2a55280a3675203496d302463b941834228b9875 (diff)
downloadlinux-0bda49f30ca48998102eb0a0b53970c3a3558be0.tar.gz
linux-0bda49f30ca48998102eb0a0b53970c3a3558be0.tar.bz2
linux-0bda49f30ca48998102eb0a0b53970c3a3558be0.zip
efi/x86: Remove unused variables
Commit 987053a30016 ("efi/x86: Move command-line initrd loading to efi_main") made the ramdisk_addr/ramdisk_size variables in efi_pe_entry unused, but neglected to delete them. Delete these unused variables. Signed-off-by: Arvind Sankar <nivedita@alum.mit.edu> Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
-rw-r--r--drivers/firmware/efi/libstub/x86-stub.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/firmware/efi/libstub/x86-stub.c b/drivers/firmware/efi/libstub/x86-stub.c
index 5a48d996ed71..37e82bf397aa 100644
--- a/drivers/firmware/efi/libstub/x86-stub.c
+++ b/drivers/firmware/efi/libstub/x86-stub.c
@@ -361,8 +361,6 @@ efi_status_t __efiapi efi_pe_entry(efi_handle_t handle,
int options_size = 0;
efi_status_t status;
char *cmdline_ptr;
- unsigned long ramdisk_addr;
- unsigned long ramdisk_size;
efi_system_table = sys_table_arg;