projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
63655b6
)
crypto: rockchip - delete unneeded variable initialization
author
Kai Ye
<yekai13@huawei.com>
Thu, 1 Apr 2021 03:01:39 +0000
(11:01 +0800)
committer
Herbert Xu
<herbert@gondor.apana.org.au>
Fri, 9 Apr 2021 07:45:13 +0000
(17:45 +1000)
Delete unneeded variable initialization
Signed-off-by: Kai Ye <yekai13@huawei.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/rockchip/rk3288_crypto_ahash.c
patch
|
blob
|
history
diff --git
a/drivers/crypto/rockchip/rk3288_crypto_ahash.c
b/drivers/crypto/rockchip/rk3288_crypto_ahash.c
index 81befe7febaa42ca0025fa1f630424992f3c9fbd..ed03058497bc2863e1c6333fb42f025efd85291b 100644
(file)
--- 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);