aboutsummaryrefslogtreecommitdiff
path: root/sys/kern
diff options
context:
space:
mode:
authorRyan Libby <rlibby@FreeBSD.org>2019-11-29 06:25:03 +0000
committerRyan Libby <rlibby@FreeBSD.org>2019-11-29 06:25:03 +0000
commit815db2f6f8b1855df12288ed989c656f852af75d (patch)
tree30ace90833550828454bd4611a0a59cd0e95f018 /sys/kern
parentcf29433090d8399bbdf285f58209efca384d1641 (diff)
downloadsrc-815db2f6f8b1855df12288ed989c656f852af75d.tar.gz
src-815db2f6f8b1855df12288ed989c656f852af75d.zip
ktls_session zone: don't need to specify uma trash
The use of the uma trash procedures is automatic, there's no need to pass them explicitly here. Reviewed by: markj Sponsored by: Dell EMC Isilon Differential Revision: https://reviews.freebsd.org/D22582
Notes
Notes: svn path=/head/; revision=355207
Diffstat (limited to 'sys/kern')
-rw-r--r--sys/kern/uipc_ktls.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/sys/kern/uipc_ktls.c b/sys/kern/uipc_ktls.c
index 7290714e0fc6..af38b6a2260e 100644
--- a/sys/kern/uipc_ktls.c
+++ b/sys/kern/uipc_ktls.c
@@ -357,11 +357,7 @@ ktls_init(void *dummy __unused)
ktls_session_zone = uma_zcreate("ktls_session",
sizeof(struct ktls_session),
-#ifdef INVARIANTS
- trash_ctor, trash_dtor, trash_init, trash_fini,
-#else
NULL, NULL, NULL, NULL,
-#endif
UMA_ALIGN_CACHE, 0);
/*