Remove ASYNC_in_job()

The ASYNC_in_job() function is redundant. The same effect can be achieved by
using ASYNC_get_current_job().

Reviewed-by: Rich Salz <rsalz@openssl.org>
This commit is contained in:
Matt Caswell
2015-09-23 23:12:36 +01:00
parent c00793da99
commit 44a27ac282
3 changed files with 3 additions and 12 deletions

View File

@@ -287,14 +287,6 @@ int ASYNC_pause_job(void)
return 1;
}
int ASYNC_in_job(void)
{
if(ASYNC_get_ctx())
return 1;
return 0;
}
static void async_empty_pool(STACK_OF(ASYNC_JOB) *pool)
{
ASYNC_JOB *job;