aboutsummaryrefslogtreecommitdiff
path: root/src/core/pipe.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/pipe.c')
-rw-r--r--src/core/pipe.c8
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) {