Explorar o código

riscv: Remove unused _relocate arguments

EFI image handle and system table are not used in _relocate().

Signed-off-by: Ivan Gorinov <ivan.gorinov@intel.com>
Ivan Gorinov %!s(int64=5) %!d(string=hai) anos
pai
achega
b71bb87af9
Modificáronse 1 ficheiros con 1 adicións e 2 borrados
  1. 1 2
      arch/riscv/lib/reloc_riscv_efi.c

+ 1 - 2
arch/riscv/lib/reloc_riscv_efi.c

@@ -50,8 +50,7 @@
 #define ELF_R_TYPE	ELF32_R_TYPE
 #endif
 
-efi_status_t _relocate(long ldbase, Elf_Dyn *dyn, efi_handle_t image,
-		       struct efi_system_table *systab)
+efi_status_t EFIAPI _relocate(long ldbase, Elf_Dyn *dyn)
 {
 	long relsz = 0, relent = 0;
 	Elf_Rela *rel = 0;