From 3f4058cd15545a83b4e6e50cd7e29af45b54054a Mon Sep 17 00:00:00 2001 From: Richard Yao Date: Sun, 7 Jul 2013 13:39:59 -0400 Subject: Remove arc_data_buf_alloc()/arc_data_buf_free() These functions are used in neither Illumos nor ZFSOnLinux. They appear to have been replaced by arc_buf_alloc()/arc_buf_free(), so lets remove them. Signed-off-by: Richard Yao Signed-off-by: Brian Behlendorf Issue #1614 --- include/sys/arc.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'include') diff --git a/include/sys/arc.h b/include/sys/arc.h index 396144a4b..c88c31148 100644 --- a/include/sys/arc.h +++ b/include/sys/arc.h @@ -92,8 +92,6 @@ typedef enum arc_space_type { void arc_space_consume(uint64_t space, arc_space_type_t type); void arc_space_return(uint64_t space, arc_space_type_t type); -void *arc_data_buf_alloc(uint64_t space); -void arc_data_buf_free(void *buf, uint64_t space); arc_buf_t *arc_buf_alloc(spa_t *spa, int size, void *tag, arc_buf_contents_t type); arc_buf_t *arc_loan_buf(spa_t *spa, int size); -- cgit v1.2.3