diff options
author | 2019-08-23 21:49:15 +0200 | |
---|---|---|
committer | 2019-09-06 23:58:43 +0200 | |
commit | 5f71d977206f3b2990ba304766ddaa9e81dbe700 (patch) | |
tree | fa39f353744ce3736b9fca68ff24719555d8bd1e /include/linux/kexec.h | |
parent | kexec_elf: change order of elf_*_to_cpu() functions (diff) | |
download | linux-5f71d977206f3b2990ba304766ddaa9e81dbe700.tar.gz linux-5f71d977206f3b2990ba304766ddaa9e81dbe700.tar.bz2 linux-5f71d977206f3b2990ba304766ddaa9e81dbe700.zip |
kexec_elf: remove parsing of section headers
We're not using them, so we can drop the parsing.
Signed-off-by: Sven Schnelle <svens@stackframe.org>
Reviewed-by: Thiago Jung Bauermann <bauerman@linux.ibm.com>
Signed-off-by: Helge Deller <deller@gmx.de>
Diffstat (limited to 'include/linux/kexec.h')
-rw-r--r-- | include/linux/kexec.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/kexec.h b/include/linux/kexec.h index da2a6b1d69e7..f0b809258ed3 100644 --- a/include/linux/kexec.h +++ b/include/linux/kexec.h @@ -226,7 +226,6 @@ struct kexec_elf_info { const struct elfhdr *ehdr; const struct elf_phdr *proghdrs; - struct elf_shdr *sechdrs; }; int kexec_build_elf_info(const char *buf, size_t len, struct elfhdr *ehdr, |