From 35dec3dbf9d6bbd725eb54bb9c9c3fe8b620b6d2 Mon Sep 17 00:00:00 2001 From: Kai Song Date: Thu, 23 Sep 2021 13:32:43 +0800 Subject: i386: 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 Signed-off-by: Simon Horman --- kexec/arch/i386/crashdump-x86.c | 1 - 1 file changed, 1 deletion(-) diff --git a/kexec/arch/i386/crashdump-x86.c b/kexec/arch/i386/crashdump-x86.c index 81610dc5..9826f6d1 100644 --- a/kexec/arch/i386/crashdump-x86.c +++ b/kexec/arch/i386/crashdump-x86.c @@ -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 */ -- cgit 1.2.3-korg