All of lore.kernel.org
 help / color / mirror / Atom feed
From: will.deacon@arm.com (Will Deacon)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH] arm64: mm: Drop the unused cpu parameter
Date: Tue, 9 Oct 2018 12:57:04 +0100	[thread overview]
Message-ID: <20181009115704.GC6248@arm.com> (raw)
In-Reply-To: <1538815744-27408-1-git-send-email-zhangshaokun@hisilicon.com>

On Sat, Oct 06, 2018 at 04:49:04PM +0800, Shaokun Zhang wrote:
> Cpu parameter is never used in flush_context, remove it.
> 
> Cc: Catalin Marinas <catalin.marinas@arm.com>
> Cc: Will Deacon <will.deacon@arm.com>
> Signed-off-by: Shaokun Zhang <zhangshaokun@hisilicon.com>
> ---
>  arch/arm64/mm/context.c | 8 ++++----
>  1 file changed, 4 insertions(+), 4 deletions(-)

Acked-by: Will Deacon <will.deacon@arm.com>

Curious, but does this actually result in better code generation, or does
GCC already figure out that the parameter is unused?

Will

  reply	other threads:[~2018-10-09 11:57 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-10-06  8:49 [PATCH] arm64: mm: Drop the unused cpu parameter Shaokun Zhang
2018-10-09 11:57 ` Will Deacon [this message]
2018-10-09 13:53   ` Zhangshaokun

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=20181009115704.GC6248@arm.com \
    --to=will.deacon@arm.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.