Skip to content

Commit

Permalink
Disable an unused function to pass the compile tests
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 d095515 commit f2f2f68
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions module/zfs/zio.c
Original file line number Diff line number Diff line change
Expand Up @@ -556,6 +556,8 @@ zio_decrypt(zio_t *zio, abd_t *data, uint64_t size)
}
}

#if 0
/* We might still need this in the future */
static void
zio_getcomplevel(zio_t *zio, abd_t *data, uint64_t size)
{
Expand All @@ -576,6 +578,7 @@ zio_getcomplevel(zio_t *zio, abd_t *data, uint64_t size)
zio->io_error = SET_ERROR(EIO);
}
}
#endif

/*
* ==========================================================================
Expand Down

0 comments on commit f2f2f68

Please sign in to comment.