linux-crypto.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] crypto: tgr192 remove unneeded semicolon
@ 2019-11-06  0:53 Tian Tao
  2019-11-15  6:06 ` Herbert Xu
  0 siblings, 1 reply; 2+ messages in thread
From: Tian Tao @ 2019-11-06  0:53 UTC (permalink / raw)
  To: herbert, davem, linux-crypto, linuxarm

Fix the warning below.
./crypto/tgr192.c:558:43-44: Unneeded semicolon
./crypto/tgr192.c:586:44-45: Unneeded semicolon

Fixes: f63fbd3d501b ("crypto: tgr192 - Switch to shash")

Signed-off-by: Tian Tao <tiantao6@huawei.com>
---
 crypto/tgr192.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/crypto/tgr192.c b/crypto/tgr192.c
index 052648e..aa29c52 100644
--- a/crypto/tgr192.c
+++ b/crypto/tgr192.c
@@ -555,7 +555,7 @@ static int tgr192_final(struct shash_desc *desc, u8 * out)
 	__le32 *le32p;
 	u32 t, msb, lsb;
 
-	tgr192_update(desc, NULL, 0); /* flush */ ;
+	tgr192_update(desc, NULL, 0); /* flush */
 
 	msb = 0;
 	t = tctx->nblocks;
@@ -583,7 +583,7 @@ static int tgr192_final(struct shash_desc *desc, u8 * out)
 		while (tctx->count < 64) {
 			tctx->hash[tctx->count++] = 0;
 		}
-		tgr192_update(desc, NULL, 0); /* flush */ ;
+		tgr192_update(desc, NULL, 0); /* flush */
 		memset(tctx->hash, 0, 56);    /* fill next block with zeroes */
 	}
 	/* append the 64 bit count */
-- 
2.7.4


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] crypto: tgr192 remove unneeded semicolon
  2019-11-06  0:53 [PATCH] crypto: tgr192 remove unneeded semicolon Tian Tao
@ 2019-11-15  6:06 ` Herbert Xu
  0 siblings, 0 replies; 2+ messages in thread
From: Herbert Xu @ 2019-11-15  6:06 UTC (permalink / raw)
  To: Tian Tao; +Cc: davem, linux-crypto, linuxarm

On Wed, Nov 06, 2019 at 08:53:41AM +0800, Tian Tao wrote:
> Fix the warning below.
> ./crypto/tgr192.c:558:43-44: Unneeded semicolon
> ./crypto/tgr192.c:586:44-45: Unneeded semicolon
> 
> Fixes: f63fbd3d501b ("crypto: tgr192 - Switch to shash")
> 
> Signed-off-by: Tian Tao <tiantao6@huawei.com>
> ---
>  crypto/tgr192.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)

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:[~2019-11-15  6:06 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-11-06  0:53 [PATCH] crypto: tgr192 remove unneeded semicolon Tian Tao
2019-11-15  6:06 ` 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).