Index: sys/contrib/openzfs/module/os/freebsd/zfs/abd_os.c =================================================================== --- sys/contrib/openzfs/module/os/freebsd/zfs/abd_os.c +++ sys/contrib/openzfs/module/os/freebsd/zfs/abd_os.c @@ -328,6 +328,7 @@ return (abd_alloc_linear(size, is_metadata)); } +#if 0 /* * This is just a helper function to abd_get_offset_scatter() to alloc a * scatter ABD using the calculated chunkcnt based on the offset within the @@ -346,6 +347,7 @@ return (abd); } +#endif abd_t * abd_get_offset_scatter(abd_t *abd, abd_t *sabd, size_t off)