[PATCH] squashfs: remove excess blank lines in decompressor wrappers
From: Artem Novak
Date: Wed Dec 02 2026 - 03:40:03 EST
Remove redundant blank lines between function definitions in the
Zstandard, zlib and XZ decompressor wrappers.
Signed-off-by: Artem Novak <artem122novak@xxxxxxxxx>
---
fs/squashfs/xz_wrapper.c | 3 ---
fs/squashfs/zlib_wrapper.c | 2 --
fs/squashfs/zstd_wrapper.c | 2 --
3 files changed, 7 deletions(-)
diff --git a/fs/squashfs/xz_wrapper.c b/fs/squashfs/xz_wrapper.c
index 6610af241449..b4f7aecf85ab 100644
--- a/fs/squashfs/xz_wrapper.c
+++ b/fs/squashfs/xz_wrapper.c
@@ -77,7 +77,6 @@ static void *squashfs_xz_comp_opts(struct squashfs_sb_info *msblk,
return ERR_PTR(err);
}
-
static void *squashfs_xz_init(struct squashfs_sb_info *msblk, void *buff)
{
struct comp_opts *comp_opts = buff;
@@ -104,7 +103,6 @@ static void *squashfs_xz_init(struct squashfs_sb_info *msblk, void *buff)
return ERR_PTR(err);
}
-
static void squashfs_xz_free(void *strm)
{
struct squashfs_xz *stream = strm;
@@ -115,7 +113,6 @@ static void squashfs_xz_free(void *strm)
}
}
-
static int squashfs_xz_uncompress(struct squashfs_sb_info *msblk, void *strm,
struct bio *bio, int offset, int length,
struct squashfs_page_actor *output)
diff --git a/fs/squashfs/zlib_wrapper.c b/fs/squashfs/zlib_wrapper.c
index a29001311939..d9ddf391da40 100644
--- a/fs/squashfs/zlib_wrapper.c
+++ b/fs/squashfs/zlib_wrapper.c
@@ -38,7 +38,6 @@ static void *zlib_init(struct squashfs_sb_info *dummy, void *buff)
return ERR_PTR(-ENOMEM);
}
-
static void zlib_free(void *strm)
{
z_stream *stream = strm;
@@ -48,7 +47,6 @@ static void zlib_free(void *strm)
kfree(stream);
}
-
static int zlib_uncompress(struct squashfs_sb_info *msblk, void *strm,
struct bio *bio, int offset, int length,
struct squashfs_page_actor *output)
diff --git a/fs/squashfs/zstd_wrapper.c b/fs/squashfs/zstd_wrapper.c
index 487fbc51d264..2ff1d5d2219d 100644
--- a/fs/squashfs/zstd_wrapper.c
+++ b/fs/squashfs/zstd_wrapper.c
@@ -47,7 +47,6 @@ static void *zstd_init(struct squashfs_sb_info *msblk, void *buff)
return ERR_PTR(-ENOMEM);
}
-
static void zstd_free(void *strm)
{
struct workspace *wksp = strm;
@@ -57,7 +56,6 @@ static void zstd_free(void *strm)
kfree(wksp);
}
-
static int zstd_uncompress(struct squashfs_sb_info *msblk, void *strm,
struct bio *bio, int offset, int length,
struct squashfs_page_actor *output)
--
2.56.1