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)
commitd31549774d5dfcddd391a5085806026ac569d478
tree5a5bbf6f316752f0bac4f19e72229fd975c18d6c
parent8316da02e3e07b0da9b2d812a619b5513c7f59d2
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