summaryrefslogtreecommitdiffstats
path: root/drivers/crypto/rockchip
diff options
context:
space:
mode:
authorKai Ye <yekai13@huawei.com>2021-04-01 05:01:39 +0200
committerHerbert Xu <herbert@gondor.apana.org.au>2021-04-09 09:45:13 +0200
commit3d8c5f5a08c39835a365c69d1a6d9518722ed19e (patch)
tree3973c674e243f9a00084cbf27211fb683d7552d6 /drivers/crypto/rockchip
parentcrypto: ccp - Use DEFINE_SPINLOCK() for spinlock (diff)
downloadlinux-3d8c5f5a08c39835a365c69d1a6d9518722ed19e.tar.xz
linux-3d8c5f5a08c39835a365c69d1a6d9518722ed19e.zip
crypto: rockchip - delete unneeded variable initialization
Delete unneeded variable initialization Signed-off-by: Kai Ye <yekai13@huawei.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/crypto/rockchip')
-rw-r--r--drivers/crypto/rockchip/rk3288_crypto_ahash.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/crypto/rockchip/rk3288_crypto_ahash.c b/drivers/crypto/rockchip/rk3288_crypto_ahash.c
index 81befe7febaa..ed03058497bc 100644
--- a/drivers/crypto/rockchip/rk3288_crypto_ahash.c
+++ b/drivers/crypto/rockchip/rk3288_crypto_ahash.c
@@ -48,7 +48,7 @@ static void rk_ahash_reg_init(struct rk_crypto_info *dev)
{
struct ahash_request *req = ahash_request_cast(dev->async_req);
struct rk_ahash_rctx *rctx = ahash_request_ctx(req);
- int reg_status = 0;
+ int reg_status;
reg_status = CRYPTO_READ(dev, RK_CRYPTO_CTRL) |
RK_CRYPTO_HASH_FLUSH | _SBF(0xffff, 16);