public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Lee Jones <lee@kernel.org>
To: Li Zetao <lizetao1@huawei.com>
Cc: bot@kernelci.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH -next] mfd: ipaq-micro: Remove unused variable i in micro_rx_msg()
Date: Thu, 17 Aug 2023 12:01:51 +0100	[thread overview]
Message-ID: <20230817110151.GI648357@google.com> (raw)
In-Reply-To: <20230802092342.970476-1-lizetao1@huawei.com>

On Wed, 02 Aug 2023, Li Zetao wrote:

> After the commit "92d82d76c84", the variable i is unused. Remove it

Please use the format:

<short_sha> ("<subject>") when referencing commits.

> to silence the warning.

If you're referring to a warning, please paste it here.

> Reported-by: kernelci.org bot <bot@kernelci.org>
> Closes: https://lore.kernel.org/all/64c8aeac.170a0220.e3234.2745@mx.google.com/
> Signed-off-by: Li Zetao <lizetao1@huawei.com>
> ---
>  drivers/mfd/ipaq-micro.c | 2 --
>  1 file changed, 2 deletions(-)
> 
> diff --git a/drivers/mfd/ipaq-micro.c b/drivers/mfd/ipaq-micro.c
> index cddfd2e808f2..c964ea6539aa 100644
> --- a/drivers/mfd/ipaq-micro.c
> +++ b/drivers/mfd/ipaq-micro.c
> @@ -78,8 +78,6 @@ EXPORT_SYMBOL(ipaq_micro_tx_msg);
>  
>  static void micro_rx_msg(struct ipaq_micro *micro, u8 id, int len, u8 *data)
>  {
> -	int i;
> -
>  	dev_dbg(micro->dev, "RX msg: %02x, %d bytes\n", id, len);
>  
>  	spin_lock(&micro->lock);
> -- 
> 2.34.1
> 

-- 
Lee Jones [李琼斯]

  reply	other threads:[~2023-08-17 11:03 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-08-02  9:23 [PATCH -next] mfd: ipaq-micro: Remove unused variable i in micro_rx_msg() Li Zetao
2023-08-17 11:01 ` Lee Jones [this message]
2023-08-17 11:45 ` [PATCH -next v2] " Li Zetao
2023-08-17 11:50   ` (subset) " Lee Jones

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=20230817110151.GI648357@google.com \
    --to=lee@kernel.org \
    --cc=bot@kernelci.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=lizetao1@huawei.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