[PATCH] lib: zstd: Remove redundant semicolons

Liao Yuanhong posted 1 patch 1 month, 3 weeks ago
lib/zstd/compress/zstd_lazy.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
[PATCH] lib: zstd: Remove redundant semicolons
Posted by Liao Yuanhong 1 month, 3 weeks ago
Remove unnecessary semicolons. Adjust the position of comments to conform
to the recommended coding style.

Signed-off-by: Liao Yuanhong <liaoyuanhong@vivo.com>
---
 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