diff options
| author | Garrett D'Amore <garrett@damore.org> | 2017-07-05 11:22:44 -0700 |
|---|---|---|
| committer | Garrett D'Amore <garrett@damore.org> | 2017-07-05 11:22:44 -0700 |
| commit | 56b4dba80ed37469d6302337f38e6539dd78889f (patch) | |
| tree | c9225efd6639d34699f262007081ce382962ed3a /src/core/pipe.c | |
| parent | 809909449c371c73dd56770ca1bbe11127a4f915 (diff) | |
| download | nng-56b4dba80ed37469d6302337f38e6539dd78889f.tar.gz nng-56b4dba80ed37469d6302337f38e6539dd78889f.tar.bz2 nng-56b4dba80ed37469d6302337f38e6539dd78889f.zip | |
Cleanup some unused things.
Diffstat (limited to 'src/core/pipe.c')
| -rw-r--r-- | src/core/pipe.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/core/pipe.c b/src/core/pipe.c index 7f568457..08d3dee7 100644 --- a/src/core/pipe.c +++ b/src/core/pipe.c @@ -192,14 +192,6 @@ nni_pipe_create(nni_pipe **pp, nni_ep *ep, nni_sock *sock, nni_tran *tran) // Save the protocol destructor. p->p_proto_dtor = sock->s_pipe_ops.pipe_fini; -#if 0 - // Initialize the transport pipe data. - if ((rv = p->p_tran_ops.p_init(&p->p_tran_data)) != 0) { - nni_objhash_unref(nni_pipes, p->p_id); - return (rv); - } -#endif - // Initialize protocol pipe data. rv = sock->s_pipe_ops.pipe_init(&p->p_proto_data, p, sock->s_data); if (rv != 0) { |
