Skip to content

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
Signed-off-by: Allan Jude <allanjude@freebsd.org>
  • Loading branch information
allanjude committed Aug 13, 2020
1 parent f2f2f68 commit 50fb4c3
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 13 deletions.
10 changes: 0 additions & 10 deletions include/sys/zio_compress.h
Original file line number Diff line number Diff line change
Expand Up @@ -179,16 +179,6 @@ extern size_t lz4_compress_zfs(void *src, void *dst, size_t s_len, size_t d_len,
extern int lz4_decompress_zfs(void *src, void *dst, size_t s_len, size_t d_len,
int level);

extern void zstd_init(void);
extern void zstd_fini(void);
extern size_t zstd_compress(void *src, void *dst, size_t s_len, size_t d_len,
int level);
extern int zstd_decompress(void *src, void *dst, size_t s_len, size_t d_len,
int level);
extern int zstd_decompress_level(void *src, void *dst, size_t s_len,
size_t d_len, uint8_t *level);
extern int zstd_get_level(void *src, size_t s_len, uint8_t *level);

/*
* Compress and decompress data if necessary.
*/
Expand Down
2 changes: 0 additions & 2 deletions module/zfs/zio.c
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,6 @@ zio_init(void)
zio_inject_init();

lz4_init();
zstd_init();
}

void
Expand Down Expand Up @@ -276,7 +275,6 @@ zio_fini(void)
zio_inject_fini();

lz4_fini();
zstd_fini();
}

/*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,6 @@ typeset -a properties=(
"feature@bookmark_written"
"feature@log_spacemap"
"feature@device_rebuild"
"feature@zstd_compress"
)

if is_linux || is_freebsd; then
Expand Down

0 comments on commit 50fb4c3

Please sign in to comment.