From 26075dcbab6b33b63141d8fff4b75a5d99182dce Mon Sep 17 00:00:00 2001 From: Garrett D'Amore Date: Sat, 7 Aug 2021 17:41:19 -0700 Subject: Remove separate protocol initialization step. Nothing is using this, but it adds complexity and also requires additional lock activity each time a socket is opened. --- src/core/init.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/core/init.c') diff --git a/src/core/init.c b/src/core/init.c index 564c01a9..9f39490a 100644 --- a/src/core/init.c +++ b/src/core/init.c @@ -47,7 +47,6 @@ nni_init_helper(void) ((rv = nni_dialer_sys_init()) != 0) || ((rv = nni_pipe_sys_init()) != 0) || ((rv = nni_tls_sys_init()) != 0) || - ((rv = nni_proto_sys_init()) != 0) || ((rv = nni_sp_tran_sys_init()) != 0)) { nni_fini(); } @@ -81,7 +80,6 @@ nni_fini(void) nni_mtx_unlock(&nni_init_mtx); } nni_sp_tran_sys_fini(); - nni_proto_sys_fini(); nni_tls_sys_fini(); nni_pipe_sys_fini(); nni_dialer_sys_fini(); -- cgit v1.2.3-70-g09d2