diff options
| author | Garrett D'Amore <garrett@damore.org> | 2020-11-10 01:00:30 -0800 |
|---|---|---|
| committer | Garrett D'Amore <garrett@damore.org> | 2020-11-10 01:00:30 -0800 |
| commit | e10f53cbaf9011e77044822080db134e1bd8a0fd (patch) | |
| tree | b27ffa0f4c4b6686002429c7766eb260b16409b7 /src/core/aio.c | |
| parent | 34b363ce101ddc03c74fb1f002e587d2315420c3 (diff) | |
| download | nng-e10f53cbaf9011e77044822080db134e1bd8a0fd.tar.gz nng-e10f53cbaf9011e77044822080db134e1bd8a0fd.tar.bz2 nng-e10f53cbaf9011e77044822080db134e1bd8a0fd.zip | |
fixes #1337 nni aio user data could be removed
Diffstat (limited to 'src/core/aio.c')
| -rw-r--r-- | src/core/aio.c | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/src/core/aio.c b/src/core/aio.c index 676199a5..1a8739e4 100644 --- a/src/core/aio.c +++ b/src/core/aio.c @@ -222,23 +222,6 @@ nni_aio_get_msg(nni_aio *aio) } void -nni_aio_set_data(nni_aio *aio, unsigned index, void *data) -{ - if (index < NNI_NUM_ELEMENTS(aio->a_user_data)) { - aio->a_user_data[index] = data; - } -} - -void * -nni_aio_get_data(nni_aio *aio, unsigned index) -{ - if (index < NNI_NUM_ELEMENTS(aio->a_user_data)) { - return (aio->a_user_data[index]); - } - return (NULL); -} - -void nni_aio_set_input(nni_aio *aio, unsigned index, void *data) { if (index < NNI_NUM_ELEMENTS(aio->a_inputs)) { |
