From 56b4dba80ed37469d6302337f38e6539dd78889f Mon Sep 17 00:00:00 2001 From: Garrett D'Amore Date: Wed, 5 Jul 2017 11:22:44 -0700 Subject: Cleanup some unused things. --- src/core/pipe.c | 8 -------- 1 file changed, 8 deletions(-) (limited to 'src/core/pipe.c') 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) { -- cgit v1.2.3-70-g09d2