Skip to content

Commit 0bda49f

Browse files
nivedita76ardbiesheuvel
authored andcommitted
efi/x86: Remove unused variables
Commit 987053a ("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 <[email protected]> Signed-off-by: Ard Biesheuvel <[email protected]>
1 parent 2a55280 commit 0bda49f

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

drivers/firmware/efi/libstub/x86-stub.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -361,8 +361,6 @@ efi_status_t __efiapi efi_pe_entry(efi_handle_t handle,
361361
int options_size = 0;
362362
efi_status_t status;
363363
char *cmdline_ptr;
364-
unsigned long ramdisk_addr;
365-
unsigned long ramdisk_size;
366364

367365
efi_system_table = sys_table_arg;
368366

0 commit comments

Comments
 (0)