From 1762e5ac23754b17a0bb69082549882aeab979ba Mon Sep 17 00:00:00 2001 From: Garrett D'Amore Date: Mon, 11 Jun 2018 11:36:11 -0700 Subject: fixes #521 ep_stop is not actually used --- src/core/endpt.h | 1 - src/core/transport.h | 4 ---- 2 files changed, 5 deletions(-) (limited to 'src/core') diff --git a/src/core/endpt.h b/src/core/endpt.h index f08c7bf2..2511c1ff 100644 --- a/src/core/endpt.h +++ b/src/core/endpt.h @@ -21,7 +21,6 @@ extern void nni_ep_rele(nni_ep *); extern uint32_t nni_ep_id(nni_ep *); extern int nni_ep_create_dialer(nni_ep **, nni_sock *, const char *); extern int nni_ep_create_listener(nni_ep **, nni_sock *, const char *); -extern void nni_ep_stop(nni_ep *); extern int nni_ep_shutdown(nni_ep *); extern void nni_ep_close(nni_ep *); extern int nni_ep_dial(nni_ep *, int); diff --git a/src/core/transport.h b/src/core/transport.h index d37fb449..1046901c 100644 --- a/src/core/transport.h +++ b/src/core/transport.h @@ -105,10 +105,6 @@ struct nni_tran_ep_ops { // not affect pipes that have already been created. It is nonblocking. void (*ep_close)(void *); - // ep_stop stops the endpoint, and *waits* for any outstanding - // aio operations to complete. - void (*ep_stop)(void *); - // ep_options is an array of endpoint options. The final element must // have a NULL name. If this member is NULL, then no transport specific // options are available. -- cgit v1.2.3-70-g09d2