From 6250098655809b4e149d74bff50af86c6209ce8f Mon Sep 17 00:00:00 2001 From: Ivan Gorinov Date: Thu, 28 Jun 2018 14:49:46 -0700 Subject: x86: Remove unused _relocate arguments EFI image handle and system table are not used in _relocate(). Signed-off-by: Ivan Gorinov --- arch/x86/lib/reloc_x86_64_efi.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'arch/x86/lib/reloc_x86_64_efi.c') diff --git a/arch/x86/lib/reloc_x86_64_efi.c b/arch/x86/lib/reloc_x86_64_efi.c index 34c5b2ed3f..59d6f8d3d3 100644 --- a/arch/x86/lib/reloc_x86_64_efi.c +++ b/arch/x86/lib/reloc_x86_64_efi.c @@ -14,8 +14,7 @@ #include #include -efi_status_t _relocate(long ldbase, Elf64_Dyn *dyn, efi_handle_t image, - struct efi_system_table *systab) +efi_status_t EFIAPI _relocate(long ldbase, Elf64_Dyn *dyn) { long relsz = 0, relent = 0; Elf64_Rel *rel = 0; -- cgit