aboutsummaryrefslogtreecommitdiff
path: root/src/core/aio.c
diff options
context:
space:
mode:
authorGarrett D'Amore <garrett@damore.org>2018-05-09 12:11:01 -0700
committerGarrett D'Amore <garrett@damore.org>2018-05-09 12:12:25 -0700
commit7f7d4eee9a51cbe2088d465aa725aaf8f8424917 (patch)
treed89f2761e9489b6e8e262d478d0321b6b1d0c5e7 /src/core/aio.c
parentcc12510e510bc8e7f1b6d9e3816c6779caeee46c (diff)
downloadnng-7f7d4eee9a51cbe2088d465aa725aaf8f8424917.tar.gz
nng-7f7d4eee9a51cbe2088d465aa725aaf8f8424917.tar.bz2
nng-7f7d4eee9a51cbe2088d465aa725aaf8f8424917.zip
fixes #422 nng_aio_fini_cb() could go away
Diffstat (limited to 'src/core/aio.c')
-rw-r--r--src/core/aio.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/core/aio.c b/src/core/aio.c
index 388e6677..3606aa14 100644
--- a/src/core/aio.c
+++ b/src/core/aio.c
@@ -175,13 +175,6 @@ nni_aio_set_iov(nni_aio *aio, unsigned niov, const nni_iov *iov)
return (0);
}
-void
-nni_aio_fini_cb(nni_aio *aio)
-{
- nni_cv_fini(&aio->a_cv);
- NNI_FREE_STRUCT(aio);
-}
-
// nni_aio_stop cancels any oustanding operation, and waits for the
// callback to complete, if still running. It also marks the AIO as
// stopped, preventing further calls to nni_aio_begin from succeeding.