kexec:Remove unused local variable in get_kernel_page_offset()
Subsystems (2)
PATCH 1/1 kexec:Remove unused local variable in get_kernel_page_offset()
In get_kernel_page_offset(),the local variable kv is unused,remove it.
Signed-off-by Kai Song <[email protected]>
--- kexec/arch/i386/crashdump-x86.c | 1 - 1 file changed, 1 deletion(-)
kexec/arch/i386/crashdump-x86.c +0 -1
@@ -52,7 +52,6 @@ extern struct arch_options_t arch_options;static int get_kernel_page_offset (struct kexec_info *UNUSED (info ),struct crash_elf_info *elf_info) { -int kv;if (elf_info->machine ==EM_X86_64 ) {/* get_kernel_vaddr_and_size will override this */
Signature · 7 lines
2.27.0 _______________________________________________ kexec mailing list [email protected] http://lists.infradead.org/mailman/listinfo/kexec
Simon Horman
AppliedQuoted 12 lines · Kai Song
In get_kernel_page_offset(),the local variable kv is unused,remove it.
Signed-off-by Kai Song <[email protected]>--- kexec/arch/i386/crashdump-x86.c | 1 - 1 file changed, 1 deletion(-)kexec/arch/i386/crashdump-x86.c +0
-0
kexec/arch/i386/crashdump-x86.c extern struct arch_options_t arch_options; · line 57
Quoted 7 lines
kexec/arch/i386/crashdump-x86.c +0
-1@@ -52,7 +52,6 @@ extern struct arch_options_t arch_options;static int get_kernel_page_offset (struct kexec_info *UNUSED (info ),struct crash_elf_info *elf_info) { -int kv;if (elf_info->machine ==EM_X86_64 ) {/* get_kernel_vaddr_and_size will override this */
Thanks, applied.
_______________________________________________
kexec mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/kexec