summaryrefslogtreecommitdiff
path: root/kernel/kexec_elf.c
diff options
context:
space:
mode:
authorSven Schnelle <svens@stackframe.org>2019-08-23 21:49:17 +0200
committerHelge Deller <deller@gmx.de>2019-09-06 23:58:43 +0200
commit3bd9c3366ee5c4e1b6ee8c8d9006ee559ec1d4ba (patch)
treea6c3bd6a354d5fac59bf0b8a92f489747a464c6c /kernel/kexec_elf.c
parent10ba459f870c7ca469e8190a704b9bbc1d513978 (diff)
kexec_elf: remove Elf_Rel macro
It wasn't used anywhere, so lets drop it. Reviewed-by: Christophe Leroy <christophe.leroy@c-s.fr> Reviewed-by: Thiago Jung Bauermann <bauerman@linux.ibm.com> Signed-off-by: Sven Schnelle <svens@stackframe.org> Signed-off-by: Helge Deller <deller@gmx.de>
Diffstat (limited to 'kernel/kexec_elf.c')
-rw-r--r--kernel/kexec_elf.c4
1 files changed, 0 insertions, 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;