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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user