From 198c49cc8d81e8eb0df3749d395599895c3a3a76 Mon Sep 17 00:00:00 2001 From: Kevin Wolf Date: Tue, 24 Apr 2018 16:55:04 +0200 Subject: job: Add job_yield() This moves block_job_yield() to the Job layer. Signed-off-by: Kevin Wolf Reviewed-by: Max Reitz --- include/block/blockjob_int.h | 8 -------- 1 file changed, 8 deletions(-) (limited to 'include/block') diff --git a/include/block/blockjob_int.h b/include/block/blockjob_int.h index 7df07b2..806ac64 100644 --- a/include/block/blockjob_int.h +++ b/include/block/blockjob_int.h @@ -108,14 +108,6 @@ void block_job_user_resume(Job *job); void block_job_drain(Job *job); /** - * block_job_yield: - * @job: The job that calls the function. - * - * Yield the block job coroutine. - */ -void block_job_yield(BlockJob *job); - -/** * block_job_ratelimit_get_delay: * * Calculate and return delay for the next request in ns. See the documentation -- cgit v1.1