diff options
author | Kai Song <songkai01@inspur.com> | 2021-09-23 13:32:43 +0800 |
---|---|---|
committer | Simon Horman <horms@verge.net.au> | 2021-09-24 17:26:11 +0200 |
commit | 35dec3dbf9d6bbd725eb54bb9c9c3fe8b620b6d2 (patch) | |
tree | eabb9e895069d9571dad36faad24b471ab280d4d | |
parent | dbc151eaddc0ef2dbe1c56939dc36a78aad16abd (diff) |
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 <songkai01@inspur.com>
Signed-off-by: Simon Horman <horms@verge.net.au>
-rw-r--r-- | kexec/arch/i386/crashdump-x86.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/kexec/arch/i386/crashdump-x86.c b/kexec/arch/i386/crashdump-x86.c index 81610dc..9826f6d 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 */ |