summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYang Li <yang.lee@linux.alibaba.com>2021-02-08 10:10:38 +0100
committerHerbert Xu <herbert@gondor.apana.org.au>2021-03-07 05:13:14 +0100
commitda3c6c836fb1a0b9f08a7efabbfb7e31a0c816f7 (patch)
tree643e637b1b85f48bf18ce7a44ec80d2625b18bbe
parentLinux 5.12-rc2 (diff)
downloadlinux-da3c6c836fb1a0b9f08a7efabbfb7e31a0c816f7.tar.xz
linux-da3c6c836fb1a0b9f08a7efabbfb7e31a0c816f7.zip
crypto: powepc/sha1 - remove unneeded semicolon
Eliminate the following coccicheck warning: ./arch/powerpc/crypto/sha1-spe-glue.c:110:2-3: Unneeded semicolon Reported-by: Abaci Robot <abaci@linux.alibaba.com> Signed-off-by: Yang Li <yang.lee@linux.alibaba.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
-rw-r--r--arch/powerpc/crypto/sha1-spe-glue.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/crypto/sha1-spe-glue.c b/arch/powerpc/crypto/sha1-spe-glue.c
index b1e577cbf00c..88e8ea73bfa7 100644
--- a/arch/powerpc/crypto/sha1-spe-glue.c
+++ b/arch/powerpc/crypto/sha1-spe-glue.c
@@ -107,7 +107,7 @@ static int ppc_spe_sha1_update(struct shash_desc *desc, const u8 *data,
src += bytes;
len -= bytes;
- };
+ }
memcpy((char *)sctx->buffer, src, len);
return 0;