[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <ZbN1byLwTWzXo7ew@gondor.apana.org.au>
Date: Fri, 26 Jan 2024 17:03:43 +0800
From: Herbert Xu <herbert@...dor.apana.org.au>
To: Colin Ian King <colin.i.king@...il.com>
Cc: David Howells <dhowells@...hat.com>,
"David S . Miller" <davem@...emloft.net>, keyrings@...r.kernel.org,
linux-crypto@...r.kernel.org, kernel-janitors@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH][next] crypto: asymmetric_keys: remove redundant pointer
secs
On Thu, Jan 18, 2024 at 12:07:45PM +0000, Colin Ian King wrote:
> The pointer secs is being assigned a value however secs is never
> read afterwards. The pointer secs is redundant and can be removed.
>
> Cleans up clang scan build warning:
> warning: Although the value stored to 'secs' is used in the enclosing
> expression, the value is never actually read from 'secs'
> [deadcode.DeadStores]
>
> Signed-off-by: Colin Ian King <colin.i.king@...il.com>
> ---
> crypto/asymmetric_keys/verify_pefile.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
Patch applied. Thanks.
--
Email: Herbert Xu <herbert@...dor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
Powered by blists - more mailing lists