block: Remove unused aio_task_pool_empty
PATCH 1/1 block: Remove unused aio_task_pool_empty
From: "Dr. David Alan Gilbert" <[email protected]>
aio_task_pool_empty has been unused since it was added in
6e9b225f73 ("block: introduce aio task pool")
Remove it.
Signed-off-by Dr. David Alan Gilbert <[email protected]>
--- block/aio_task.c | 5 ----- include/block/aio_task.h | 2 -- 2 files changed, 7 deletions(-)
block/aio_task.c +0 -5
@@ -119,8 +119,3 @@ int aio_task_pool_status(AioTaskPool *pool)return pool->status; } - -bool aio_task_pool_empty (AioTaskPool *pool) -{ -return pool->busy_tasks ==0 ; -}
include/block/aio_task.h +0 -2
@@ -40,8 +40,6 @@ void aio_task_pool_free(AioTaskPool *);/* error code of failed task or 0 if all is OK */ int aio_task_pool_status (AioTaskPool *pool); -bool aio_task_pool_empty (AioTaskPool *pool); -/* User provides filled @task, however task->pool will be set automatically */ void coroutine_fn aio_task_pool_start_task(AioTaskPool *pool, AioTask *task);
Signature · 1 line
2.46.0
Vladimir Sementsov-Ogievskiy
AppliedQuoted 8 lines · On 17.09.24 03:20, [email protected] wrote:
From: "Dr. David Alan Gilbert"<[email protected]>
aio_task_pool_emptyhas been unused since it was added in
6e9b225f73("block: introduce aio task pool")Remove it.
Signed-off-by Dr. David Alan Gilbert<[email protected]>
Thanks, applied to my block branch.
Signature · 2 lines
Best regards, Vladimir