crypto: drbg – fix semicolon.cocci warnings

Author: Wu Fengguang <fengguang.wu@intel.com>

crypto/drbg.c:1637:39-40: Unneeded semicolon

 Remove unneeded semicolon.

Generated by: scripts/coccinelle/misc/semicolon.cocci

CC: Stephan Mueller 
Signed-off-by: Fengguang Wu 
Acked-by: Stephan Mueller 
Signed-off-by: Herbert Xu 
---
 crypto/drbg.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 
diff --git a/crypto/drbg.c b/crypto/drbg.c
index ded8638..8b39f50 100644
--- a/crypto/drbg.c
+++ b/crypto/drbg.c
@@ -1632,7 +1632,7 @@ static int drbg_fini_sym_kernel(struct drbg_state *drbg)
 	drbg->ctr_handle = NULL;
 
 	if (drbg->ctr_req)
-		skcipher_request_free(drbg->ctr_req);;
+		skcipher_request_free(drbg->ctr_req);
 	drbg->ctr_req = NULL;
 
 	kfree(drbg->ctr_null_value_buf);
BtrLinux
Privacy Overview

This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.