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>
This commit is contained in:
Ivan Gorinov 2018-06-28 14:50:17 -07:00 committed by Tom Rini
parent b966e5dc54
commit b71bb87af9

View File

@ -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;