crypto: ccree - remove set but not used variable 'du_size'
authorYueHaibing <yuehaibing@huawei.com>
Mon, 3 Feb 2020 15:39:21 +0000 (15:39 +0000)
committerHerbert Xu <herbert@gondor.apana.org.au>
Thu, 13 Feb 2020 09:05:25 +0000 (17:05 +0800)
commit20f513091caf4015cf2f40319cbe38a88234d097
tree23b522617473f0a37a5c93892ba2e27ca9ecb9d2
parent8962c6d2c2b8ca51b0f188109015b15fc5f4da44
crypto: ccree - remove set but not used variable 'du_size'

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@huawei.com>
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/ccree/cc_cipher.c