Skip to content

Commit

Permalink
compress: remove unused abd compress prototype
Browse files Browse the repository at this point in the history
Sponsored-by: Klara, Inc.
Sponsored-by: Wasabi Technology, Inc.
Signed-off-by: Rob Norris <[email protected]>
  • Loading branch information
robn authored and tonyhutter committed Aug 22, 2024
1 parent e119483 commit dd0c08f
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions include/sys/zio_compress.h
Original file line number Diff line number Diff line change
Expand Up @@ -130,17 +130,7 @@ typedef int zio_decompress_func_t(void *src, void *dst,
/* Common signature for all zio decompress and get level functions. */
typedef int zio_decompresslevel_func_t(void *src, void *dst,
size_t s_len, size_t d_len, uint8_t *level);
/* Common signature for all zio get-compression-level functions. */
typedef int zio_getlevel_func_t(void *src, size_t s_len, uint8_t *level);


/*
* Common signature for all zio decompress functions using an ABD as input.
* This is helpful if you have both compressed ARC and scatter ABDs enabled,
* but is not a requirement for all compression algorithms.
*/
typedef int zio_decompress_abd_func_t(abd_t *src, void *dst,
size_t s_len, size_t d_len, int);
/*
* Information about each compression function.
*/
Expand Down

0 comments on commit dd0c08f

Please sign in to comment.