public inbox for kexec@lists.infradead.org
 help / color / mirror / Atom feed
From: Simon Horman <horms@verge.net.au>
To: Kai Song <songkai01@inspur.com>
Cc: kexec@lists.infradead.org
Subject: Re: [PATCH] kexec:Remove unused local variable in get_kernel_page_offset()
Date: Fri, 24 Sep 2021 17:33:25 +0200	[thread overview]
Message-ID: <20210924153325.GA25765@vergenet.net> (raw)
In-Reply-To: <20210923053243.8320-1-songkai01@inspur.com>

On Thu, Sep 23, 2021 at 01:32:43PM +0800, Kai Song wrote:
> In get_kernel_page_offset(),the local variable kv is unused,remove it.
> 
> Signed-off-by: Kai Song <songkai01@inspur.com>
> ---
>  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 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 */

Thanks, applied.

_______________________________________________
kexec mailing list
kexec@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/kexec

      reply	other threads:[~2021-09-24 15:33 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-09-23  5:32 [PATCH] kexec:Remove unused local variable in get_kernel_page_offset() Kai Song
2021-09-24 15:33 ` Simon Horman [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20210924153325.GA25765@vergenet.net \
    --to=horms@verge.net.au \
    --cc=kexec@lists.infradead.org \
    --cc=songkai01@inspur.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox