* [PATCH] crypto: rockchip/rk3288_crypto_ahash - delete unneeded variable initialization
@ 2021-04-01 3:01 Kai Ye
2021-04-09 7:53 ` Herbert Xu
0 siblings, 1 reply; 2+ messages in thread
From: Kai Ye @ 2021-04-01 3:01 UTC (permalink / raw)
To: herbert
Cc: linux-crypto, linux-kernel, heiko, linux-rockchip, shenyang39, yekai13
Delete unneeded variable initialization
Signed-off-by: Kai Ye <yekai13@huawei.com>
---
drivers/crypto/rockchip/rk3288_crypto_ahash.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/crypto/rockchip/rk3288_crypto_ahash.c b/drivers/crypto/rockchip/rk3288_crypto_ahash.c
index 81befe7..ed03058 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);
--
2.8.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] crypto: rockchip/rk3288_crypto_ahash - delete unneeded variable initialization
2021-04-01 3:01 [PATCH] crypto: rockchip/rk3288_crypto_ahash - delete unneeded variable initialization Kai Ye
@ 2021-04-09 7:53 ` Herbert Xu
0 siblings, 0 replies; 2+ messages in thread
From: Herbert Xu @ 2021-04-09 7:53 UTC (permalink / raw)
To: Kai Ye; +Cc: linux-crypto, linux-kernel, heiko, linux-rockchip, shenyang39
On Thu, Apr 01, 2021 at 11:01:39AM +0800, Kai Ye wrote:
> Delete unneeded variable initialization
>
> Signed-off-by: Kai Ye <yekai13@huawei.com>
> ---
> drivers/crypto/rockchip/rk3288_crypto_ahash.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
Patch applied. Thanks.
--
Email: Herbert Xu <herbert@gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-04-09 7:53 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-01 3:01 [PATCH] crypto: rockchip/rk3288_crypto_ahash - delete unneeded variable initialization Kai Ye
2021-04-09 7:53 ` Herbert Xu
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).