[PATCH] lib: zstd: fix semicolon.cocci warnings

From: kernel test robot
Date: Thu Oct 01 2020 - 16:51:14 EST


From: kernel test robot <lkp@xxxxxxxxx>

lib/zstd/compress/zstd_compress.c:3248:24-25: Unneeded semicolon


Remove unneeded semicolon.

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

CC: Nick Terrell <terrelln@xxxxxx>
Signed-off-by: kernel test robot <lkp@xxxxxxxxx>
---

url: https://github.com/0day-ci/linux/commits/Nick-Terrell/Update-to-zstd-1-4-6/20200930-145157
base: https://git.kernel.org/pub/scm/linux/kernel/git/kdave/linux.git for-next

zstd_compress.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

--- a/lib/zstd/compress/zstd_compress.c
+++ b/lib/zstd/compress/zstd_compress.c
@@ -3245,7 +3245,7 @@ size_t ZSTD_compress(void* dst, size_t d
ZSTD_CCtx* cctx = ZSTD_createCCtx();
RETURN_ERROR_IF(!cctx, memory_allocation, "ZSTD_createCCtx failed");
result = ZSTD_compressCCtx(cctx, dst, dstCapacity, src, srcSize, compressionLevel);
- ZSTD_freeCCtx(cctx);;
+ ZSTD_freeCCtx(cctx);
return result;
}