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 <[email protected]>
> ---
> drivers/crypto/chelsio/chcr_ipsec.c | 3 +--
> 1 file changed, 1 insertion(+), 2 deletions(-)
Patch applied. Thanks.
--
Email: Herbert Xu <[email protected]>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt