]> git.baikalelectronics.ru Git - kernel.git/commit
crypto: ux500 - Remove set but not used variable 'cookie'
authorzhengbin <zhengbin13@huawei.com>
Fri, 11 Oct 2019 10:08:02 +0000 (18:08 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Wed, 23 Oct 2019 08:46:56 +0000 (19:46 +1100)
commit027e3f1f3db6030324d3ed62351fb80ed3853169
tree88c15b202d69967383c2814f1df6dfb44fb41340
parent0bff6c239e7842026658e02774ff62dbf53c3cb0
crypto: ux500 - Remove set but not used variable 'cookie'

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

drivers/crypto/ux500/hash/hash_core.c: In function hash_set_dma_transfer:
drivers/crypto/ux500/hash/hash_core.c:143:15: warning: variable cookie set but not used [-Wunused-but-set-variable]

It is not used since commit 54b3c1499b26 ("crypto:
ux500 - Add driver for HASH hardware")

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: zhengbin <zhengbin13@huawei.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/ux500/hash/hash_core.c