diff options
| author | Garrett D'Amore <garrett@damore.org> | 2021-08-07 17:41:19 -0700 |
|---|---|---|
| committer | Garrett D'Amore <garrett@damore.org> | 2021-08-07 17:41:19 -0700 |
| commit | 26075dcbab6b33b63141d8fff4b75a5d99182dce (patch) | |
| tree | 5f8a50e5191de5918f49d9956b50b03f5e88dd49 /src/core/init.c | |
| parent | 524a3f6ec6e1e921c16ff18997ae494cad09f860 (diff) | |
| download | nng-26075dcbab6b33b63141d8fff4b75a5d99182dce.tar.gz nng-26075dcbab6b33b63141d8fff4b75a5d99182dce.tar.bz2 nng-26075dcbab6b33b63141d8fff4b75a5d99182dce.zip | |
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.
Diffstat (limited to 'src/core/init.c')
| -rw-r--r-- | src/core/init.c | 2 |
1 files changed, 0 insertions, 2 deletions
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(); |
