diff options
author | Matt Caswell <matt@openssl.org> | 2015-11-13 15:21:20 +0000 |
---|---|---|
committer | Matt Caswell <matt@openssl.org> | 2015-11-20 23:37:17 +0000 |
commit | 27949c353e68825f119410f8fd73ae1d667581c7 (patch) | |
tree | 8047b155949437358c5baed4769487472b2e70c7 /crypto/async/arch/async_null.c | |
parent | 2b2c78d4f0a73498739cfc0879299d7325c35160 (diff) |
Simplify async pool handling
A lot of the pool handling code was in the arch specific files, but was
actually boiler plate and the same across the implementations. This commit
moves as much code as possible out of the arch specific files.
Reviewed-by: Rich Salz <rsalz@openssl.org>
Diffstat (limited to 'crypto/async/arch/async_null.c')
-rw-r--r-- | crypto/async/arch/async_null.c | 35 |
1 files changed, 0 insertions, 35 deletions
diff --git a/crypto/async/arch/async_null.c b/crypto/async/arch/async_null.c index f015c90fb7..8de50ed531 100644 --- a/crypto/async/arch/async_null.c +++ b/crypto/async/arch/async_null.c @@ -56,41 +56,6 @@ #ifdef ASYNC_NULL -STACK_OF(ASYNC_JOB) *async_get_pool(void) -{ - return NULL; -} - -int async_set_pool(STACK_OF(ASYNC_JOB) *poolin, size_t curr_size, - size_t max_size) -{ - return 0; -} - -void async_increment_pool_size(void) -{ - return; -} - -void async_release_job_to_pool(ASYNC_JOB *job) -{ - return; -} - -size_t async_pool_max_size(void) -{ - return 0; -} - -void async_release_pool(void) -{ - return; -} - -int async_pool_can_grow(void) { - return 0; -} - int async_pipe(OSSL_ASYNC_FD *pipefds) { return -1; |