diff mbox series

[U-Boot,v4,3/4] x86: Remove unused _relocate arguments

Message ID 98d5003205bc0de5cd6addd5c583fc2899feb98c.1528825347.git.ivan.gorinov@intel.com
State Changes Requested
Delegated to: Tom Rini
Headers show
Series x86: use EFI calling convention for efi_main on x86_64 | expand

Commit Message

Ivan Gorinov June 12, 2018, 5:52 p.m. UTC
EFI image handle and system table are not used in _relocate().

Signed-off-by: Ivan Gorinov <ivan.gorinov@intel.com>
---
 arch/x86/lib/reloc_ia32_efi.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
diff mbox series

Patch

diff --git a/arch/x86/lib/reloc_ia32_efi.c b/arch/x86/lib/reloc_ia32_efi.c
index e838af3..49a0b94 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 _relocate(long ldbase, Elf32_Dyn *dyn)
 {
 	long relsz = 0, relent = 0;
 	Elf32_Rel *rel = 0;