aboutsummaryrefslogtreecommitdiffstats
path: root/module/zfs/gzip.c
diff options
context:
space:
mode:
authorнаб <[email protected]>2021-12-12 16:06:44 +0100
committerTony Hutter <[email protected]>2022-02-16 17:58:56 -0800
commit94a4b7ec3d79b1815f73250b83477773502d35a2 (patch)
tree122a70ee7a2f0fc6eac9f36270c4744acd552953 /module/zfs/gzip.c
parentccbe9efd6bb37a58b0d70ed0d5f757460968a865 (diff)
module: zfs: fix unused, remove argsused
Reviewed-by: Brian Behlendorf <[email protected]> Signed-off-by: Ahelenia Ziemiańska <[email protected]> Closes #12844
Diffstat (limited to 'module/zfs/gzip.c')
-rw-r--r--module/zfs/gzip.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/module/zfs/gzip.c b/module/zfs/gzip.c
index e2c6e5996..48191241b 100644
--- a/module/zfs/gzip.c
+++ b/module/zfs/gzip.c
@@ -83,10 +83,10 @@ gzip_compress(void *s_start, void *d_start, size_t s_len, size_t d_len, int n)
return ((size_t)dstlen);
}
-/*ARGSUSED*/
int
gzip_decompress(void *s_start, void *d_start, size_t s_len, size_t d_len, int n)
{
+ (void) n;
zlen_t dstlen = d_len;
ASSERT(d_len >= s_len);