aboutsummaryrefslogtreecommitdiff
path: root/sys/contrib
diff options
context:
space:
mode:
authorMateusz Guzik <mjg@FreeBSD.org>2020-11-10 14:21:23 +0000
committerMateusz Guzik <mjg@FreeBSD.org>2020-11-10 14:21:23 +0000
commit41ce62251c1ed0003fc13b8735de5f9eff4c5c03 (patch)
tree97d65d21e1bd9bd304e5630a8eb1bc4d507dc2d8 /sys/contrib
parentb392c96540304e7565697b68bb9cc06376f58f9c (diff)
downloadsrc-41ce62251c1ed0003fc13b8735de5f9eff4c5c03.tar.gz
src-41ce62251c1ed0003fc13b8735de5f9eff4c5c03.zip
zfs: g/c unused data_alloc_arena
Notes
Notes: svn path=/head/; revision=367568
Diffstat (limited to 'sys/contrib')
-rw-r--r--sys/contrib/openzfs/module/zfs/zio.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/contrib/openzfs/module/zfs/zio.c b/sys/contrib/openzfs/module/zfs/zio.c
index 8a8fbccd7d63..e1dff1cbe0ce 100644
--- a/sys/contrib/openzfs/module/zfs/zio.c
+++ b/sys/contrib/openzfs/module/zfs/zio.c
@@ -144,7 +144,6 @@ void
zio_init(void)
{
size_t c;
- vmem_t *data_alloc_arena = NULL;
zio_cache = kmem_cache_create("zio_cache",
sizeof (zio_t), 0, NULL, NULL, NULL, NULL, NULL, 0);
@@ -213,8 +212,7 @@ zio_init(void)
(void) snprintf(name, sizeof (name), "zio_data_buf_%lu",
(ulong_t)size);
zio_data_buf_cache[c] = kmem_cache_create(name, size,
- align, NULL, NULL, NULL, NULL,
- data_alloc_arena, data_cflags);
+ align, NULL, NULL, NULL, NULL, NULL, data_cflags);
}
}