Subject: [PATCH v5 5/7] kexec_elf: remove Elf_Rel macro

From: Sven Schnelle <[email-masked]>
Date: Fri, 23 Aug 2019 21:49:17 +0200

It wasn't used anywhere, so lets drop it.

Reviewed-by: Christophe Leroy <[email-masked]>
Reviewed-by: Thiago Jung Bauermann <[email-masked]>
Signed-off-by: Sven Schnelle <[email-masked]>
---
 kernel/kexec_elf.c | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/kernel/kexec_elf.c b/kernel/kexec_elf.c
index 87935bd5e2ba..6c806ce96ac1 100644
--- a/kernel/kexec_elf.c
+++ b/kernel/kexec_elf.c
@@ -23,10 +23,6 @@
 
 #define elf_addr_to_cpu	elf64_to_cpu
 
-#ifndef Elf_Rel
-#define Elf_Rel		Elf64_Rel
-#endif /* Elf_Rel */
-
 static inline bool elf_is_elf_file(const struct elfhdr *ehdr)
 {
 	return memcmp(ehdr->e_ident, ELFMAG, SELFMAG) == 0;
-- 
2.23.0.rc1