[PATCH] lib: zstd: Remove redundant semicolons
From: Liao Yuanhong
Date: Wed Aug 13 2025 - 05:53:12 EST
Remove unnecessary semicolons. Adjust the position of comments to conform
to the recommended coding style.
Signed-off-by: Liao Yuanhong <liaoyuanhong@xxxxxxxx>
---
lib/zstd/compress/zstd_lazy.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/lib/zstd/compress/zstd_lazy.c b/lib/zstd/compress/zstd_lazy.c
index 88e2501fe3ef..d0aa8eab0311 100644
--- a/lib/zstd/compress/zstd_lazy.c
+++ b/lib/zstd/compress/zstd_lazy.c
@@ -1612,7 +1612,8 @@ size_t ZSTD_compressBlock_lazy_generic(
}
if (matchLength < 4) {
- size_t const step = ((size_t)(ip-anchor) >> kSearchStrength) + 1; /* jump faster over incompressible sections */;
+ /* jump faster over incompressible sections */
+ size_t const step = ((size_t)(ip-anchor) >> kSearchStrength) + 1;
ip += step;
/* Enter the lazy skipping mode once we are skipping more than 8 bytes at a time.
* In this mode we stop inserting every position into our tables, and only insert
--
2.34.1