From: Artem Novak <artem122novak@gmail.com>
To: phillip@squashfs.org.uk
Cc: terrelln@fb.com, dsterba@suse.com, linux-kernel@vger.kernel.org,
Artem Novak <artem122novak@gmail.com>
Subject: [PATCH] squashfs: remove excess blank lines in decompressor wrappers
Date: Wed, 2 Dec 2026 02:39:51 -0600 [thread overview]
Message-ID: <20261202083951.110901-1-artem122novak@gmail.com> (raw)
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
reply other threads:[~2026-12-02 8:39 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20261202083951.110901-1-artem122novak@gmail.com \
--to=artem122novak@gmail.com \
--cc=dsterba@suse.com \
--cc=linux-kernel@vger.kernel.org \
--cc=phillip@squashfs.org.uk \
--cc=terrelln@fb.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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®