Author: rlibby
Date: Fri Nov 29 06:25:03 2019
New Revision: 355207
URL: https://svnweb.freebsd.org/changeset/base/355207

Log:
  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

Modified:
  head/sys/kern/uipc_ktls.c

Modified: head/sys/kern/uipc_ktls.c
==============================================================================
--- head/sys/kern/uipc_ktls.c   Fri Nov 29 03:56:01 2019        (r355206)
+++ head/sys/kern/uipc_ktls.c   Fri Nov 29 06:25:03 2019        (r355207)
@@ -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);
 
        /*
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to