[prev in list] [next in list] [prev in thread] [next in thread]
List: linux-crypto-vger
Subject: Re: [PATCH -next] crypto: chelsio - remove set but not used variable 'kctx_len'
From: Herbert Xu <herbert () gondor ! apana ! org ! au>
Date: 2018-12-23 4:01:41
Message-ID: 20181223040141.yylwdffy3i3kv4kq () gondor ! apana ! org ! au
[Download RAW message or body]
On Tue, Dec 11, 2018 at 08:11:59AM +0000, YueHaibing wrote:
> Fixes gcc '-Wunused-but-set-variable' warning:
>
> drivers/crypto/chelsio/chcr_ipsec.c: In function 'chcr_ipsec_xmit':
> drivers/crypto/chelsio/chcr_ipsec.c:674:33: warning:
> variable 'kctx_len' set but not used [-Wunused-but-set-variable]
> unsigned int flits = 0, ndesc, kctx_len;
>
> It not used since commit 8362ea16f69f ("crypto: chcr - ESN for Inline IPSec Tx")
>
> Signed-off-by: YueHaibing <yuehaibing@huawei.com>
> ---
> drivers/crypto/chelsio/chcr_ipsec.c | 3 +--
> 1 file changed, 1 insertion(+), 2 deletions(-)
Patch applied. Thanks.
--
Email: Herbert Xu <herbert@gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic