[PATCH v4 5/7] kexec_elf: remove Elf_Rel macro

Sven Schnelle svens at stackframe.org
Mon Jul 15 01:27:00 PDT 2019


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

Reviewed-by: Christophe Leroy <christophe.leroy at c-s.fr>
Signed-off-by: Sven Schnelle <svens at stackframe.org>
---
 kernel/kexec_elf.c | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/kernel/kexec_elf.c b/kernel/kexec_elf.c
index 70d31b8feeae..e346659af324 100644
--- a/kernel/kexec_elf.c
+++ b/kernel/kexec_elf.c
@@ -10,10 +10,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.20.1




More information about the kexec mailing list