]> git.baikalelectronics.ru Git - kernel.git/commitdiff
crypto: tgr192 - remove unneeded semicolon
authorTian Tao <tiantao6@huawei.com>
Wed, 6 Nov 2019 00:53:41 +0000 (08:53 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 15 Nov 2019 05:44:17 +0000 (13:44 +0800)
Fix the warning below.
./crypto/tgr192.c:558:43-44: Unneeded semicolon
./crypto/tgr192.c:586:44-45: Unneeded semicolon

Fixes: 77655c827fd4 ("crypto: tgr192 - Switch to shash")
Signed-off-by: Tian Tao <tiantao6@huawei.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
crypto/tgr192.c

index 052648e249095c9435832342acb109eb62e71c95..aa29c529b44e61bd876e0542e83d8e1900cdf292 100644 (file)
@@ -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 */