mirror of https://gitee.com/openkylin/linux.git
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>
This commit is contained in:
parent
10ba459f87
commit
3bd9c3366e
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue