Messages in this thread Patch in this message | | | Date | Fri, 2 Oct 2020 04:50:49 +0800 | From | kernel test robot <> | Subject | [PATCH] lib: zstd: fix semicolon.cocci warnings |
| |
From: kernel test robot <lkp@intel.com>
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@fb.com> Signed-off-by: kernel test robot <lkp@intel.com> ---
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; }
| |