diff options
author | Ivan Gorinov <ivan.gorinov@intel.com> | 2018-06-28 14:50:17 -0700 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2018-07-19 16:31:37 -0400 |
commit | b71bb87af90f54ff109fa0449d07d91764c0794a (patch) | |
tree | 08d596bb6f73a605e9f311cd84d2f03a7430fa4f /arch/riscv | |
parent | b966e5dc54006c1c9e2ab93c7de38d5d43368b1a (diff) | |
download | u-boot-b71bb87af90f54ff109fa0449d07d91764c0794a.tar.gz u-boot-b71bb87af90f54ff109fa0449d07d91764c0794a.tar.bz2 u-boot-b71bb87af90f54ff109fa0449d07d91764c0794a.zip |
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>
Diffstat (limited to 'arch/riscv')
-rw-r--r-- | arch/riscv/lib/reloc_riscv_efi.c | 3 |
1 files changed, 1 insertions, 2 deletions
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; |