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
This commit is contained in:
parent
cf29433090
commit
815db2f6f8
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=355207
@ -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);
|
||||
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user