From: Ivan Gorinov Date: Thu, 28 Jun 2018 21:50:17 +0000 (-0700) Subject: riscv: Remove unused _relocate arguments X-Git-Tag: v2025.01-rc5-pxa1908~3960 X-Git-Url: http://git.dujemihanovic.xyz/%22/img/sics.gif/%22/static/git-favicon.png?a=commitdiff_plain;h=b71bb87af90f54ff109fa0449d07d91764c0794a;p=u-boot.git riscv: Remove unused _relocate arguments EFI image handle and system table are not used in _relocate(). Signed-off-by: Ivan Gorinov --- diff --git a/arch/riscv/lib/reloc_riscv_efi.c b/arch/riscv/lib/reloc_riscv_efi.c index 8b4b2b1d8f..c1039dd165 100644 --- a/arch/riscv/lib/reloc_riscv_efi.c +++ b/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;