diff options
author | Ivan Gorinov <ivan.gorinov@intel.com> | 2018-06-28 14:49:46 -0700 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2018-07-19 16:31:36 -0400 |
commit | 6250098655809b4e149d74bff50af86c6209ce8f (patch) | |
tree | 89760497064070d53506fa60fd2b647ced161548 /arch/x86/lib/reloc_ia32_efi.c | |
parent | 960a63973b21d540e2d3d7be229429e06280bacd (diff) |
x86: 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/x86/lib/reloc_ia32_efi.c')
-rw-r--r-- | arch/x86/lib/reloc_ia32_efi.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/x86/lib/reloc_ia32_efi.c b/arch/x86/lib/reloc_ia32_efi.c index e838af3b70..a262533c0f 100644 --- a/arch/x86/lib/reloc_ia32_efi.c +++ b/arch/x86/lib/reloc_ia32_efi.c @@ -12,8 +12,7 @@ #include <elf.h> #include <asm/elf.h> -efi_status_t _relocate(long ldbase, Elf32_Dyn *dyn, efi_handle_t image, - struct efi_system_table *systab) +efi_status_t EFIAPI _relocate(long ldbase, Elf32_Dyn *dyn) { long relsz = 0, relent = 0; Elf32_Rel *rel = 0; |