[PATCH -next] crypto: ccree - remove set but not used variable 'du_size'
Herbert Xu
herbert at gondor.apana.org.au
Thu Feb 13 09:22:50 UTC 2020
On Mon, Feb 03, 2020 at 03:39:21PM +0000, YueHaibing wrote:
> Fixes gcc '-Wunused-but-set-variable' warning:
>
> drivers/crypto/ccree/cc_cipher.c: In function 'cc_setup_state_desc':
> drivers/crypto/ccree/cc_cipher.c:536:15: warning:
> variable 'du_size' set but not used [-Wunused-but-set-variable]
>
> commit 5c83e8ec4d51 ("crypto: ccree - fix FDE descriptor sequence")
> involved this unused variable, so remove it.
>
> Reported-by: Hulk Robot <hulkci at huawei.com>
> Signed-off-by: YueHaibing <yuehaibing at huawei.com>
> ---
> drivers/crypto/ccree/cc_cipher.c | 8 --------
> 1 file changed, 8 deletions(-)
Patch applied. Thanks.
--
Email: Herbert Xu <herbert at gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
More information about the dri-devel
mailing list