[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20171007043633.GH29803@gondor.apana.org.au>
Date: Sat, 7 Oct 2017 12:36:33 +0800
From: Herbert Xu <herbert@...dor.apana.org.au>
To: Colin King <colin.king@...onical.com>
Cc: "David S . Miller" <davem@...emloft.net>,
linux-crypto@...r.kernel.org, kernel-janitors@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] crypto: algboss: remove redundant setting of len to zero
On Thu, Sep 14, 2017 at 07:02:19PM +0100, Colin King wrote:
> From: Colin Ian King <colin.king@...onical.com>
>
> The variable len is set to zero, never read and then later updated
> to p - name, so clearly the zero'ing of len is redundant and
> can be removed.
>
> Detected by clang scan-build:
> " warning: Value stored to 'len' is never read"
>
> Signed-off-by: Colin Ian King <colin.king@...onical.com>
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