]> git.baikalelectronics.ru Git - kernel.git/commit
crypto: marvell - remove set but not used variable 'index'
authorYueHaibing <yuehaibing@huawei.com>
Sat, 30 Mar 2019 05:28:58 +0000 (13:28 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Mon, 8 Apr 2019 06:36:16 +0000 (14:36 +0800)
commitf05470fdd55ca4b01eb41039661239cf0979dd9e
tree5a5bbf6f316752f0bac4f19e72229fd975c18d6c
parent645b99962b7fb0d8129480136cb7cf0ca7e85d3b
crypto: marvell - remove set but not used variable 'index'

Fixes gcc '-Wunused-but-set-variable' warning:

drivers/crypto/marvell/hash.c: In function 'mv_cesa_ahash_pad_req':
drivers/crypto/marvell/hash.c:138:15: warning: variable 'index' set but not used [-Wunused-but-set-variable]

It's never used and can be removed.

Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Reviewed-by: Mukesh Ojha <mojha@codeaurora.org>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/marvell/hash.c