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>
lime2-spi
Ivan Gorinov 6 years ago committed by Tom Rini
parent b966e5dc54
commit b71bb87af9
  1. 3
      arch/riscv/lib/reloc_riscv_efi.c

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

Loading…
Cancel
Save