lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20230817110151.GI648357@google.com>
Date:   Thu, 17 Aug 2023 12:01:51 +0100
From:   Lee Jones <lee@...nel.org>
To:     Li Zetao <lizetao1@...wei.com>
Cc:     bot@...nelci.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH -next] mfd: ipaq-micro: Remove unused variable i in
 micro_rx_msg()

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@...nelci.org>
> Closes: https://lore.kernel.org/all/64c8aeac.170a0220.e3234.2745@mx.google.com/
> Signed-off-by: Li Zetao <lizetao1@...wei.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 [李琼斯]

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ