* [PATCH] squashfs: remove excess blank lines in decompressor wrappers
@ 2026-12-02 8:39 Artem Novak
0 siblings, 0 replies; only message in thread
From: Artem Novak @ 2026-12-02 8:39 UTC (permalink / raw)
To: phillip; +Cc: terrelln, dsterba, linux-kernel, Artem Novak
Remove redundant blank lines between function definitions in the
Zstandard, zlib and XZ decompressor wrappers.
Signed-off-by: Artem Novak <artem122novak@gmail.com>
---
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2026-12-02 8:39 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-12-02 8:39 [PATCH] squashfs: remove excess blank lines in decompressor wrappers Artem Novak
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®