diff options
Diffstat (limited to 'src/core')
| -rw-r--r-- | src/core/aio.c | 17 | ||||
| -rw-r--r-- | src/core/aio.h | 4 |
2 files changed, 0 insertions, 21 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)) { diff --git a/src/core/aio.h b/src/core/aio.h index 7e6a1741..a46c1feb 100644 --- a/src/core/aio.h +++ b/src/core/aio.h @@ -194,10 +194,6 @@ struct nng_aio { // Message operations. nni_msg *a_msg; - // User scratch data. Consumers may store values here, which - // must be preserved by providers and the framework. - void *a_user_data[2]; - // Operation inputs & outputs. Up to 4 inputs and 4 outputs may be // specified. The semantics of these will vary, and depend on the // specific operation. |
