[PATCH v2 6/7] x86: kexec_file: clean up prepare_elf64_headers()

2018-03-06 Thread AKASHI Takahiro
removing bufp variable in prepare_elf64_headers() makes the code simpler and more understandable. Signed-off-by: AKASHI Takahiro Cc: Dave Young Cc: Vivek Goyal Cc: Baoquan He --- arch/x86/kernel/crash.c | 18

[PATCH v2 6/7] x86: kexec_file: clean up prepare_elf64_headers()

2018-03-06 Thread AKASHI Takahiro
removing bufp variable in prepare_elf64_headers() makes the code simpler and more understandable. Signed-off-by: AKASHI Takahiro Cc: Dave Young Cc: Vivek Goyal Cc: Baoquan He --- arch/x86/kernel/crash.c | 18 +++--- 1 file changed, 7 insertions(+), 11 deletions(-) diff --git