Skip to content

Commit

Permalink
crypto: tgr192 - remove unneeded semicolon
Browse files Browse the repository at this point in the history
Fix the warning below.
./crypto/tgr192.c:558:43-44: Unneeded semicolon
./crypto/tgr192.c:586:44-45: Unneeded semicolon

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

Signed-off-by: Tian Tao <[email protected]>
Signed-off-by: Herbert Xu <[email protected]>
  • Loading branch information
Tian Tao authored and herbertx committed Nov 15, 2019
1 parent 4509f43 commit 698b222
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crypto/tgr192.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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 */
Expand Down

0 comments on commit 698b222

Please sign in to comment.