diff options
author | Dr. David Alan Gilbert <dave@treblig.org> | 2024-09-17 01:20:07 +0100 |
---|---|---|
committer | Vladimir Sementsov-Ogievskiy <vsementsov@yandex-team.ru> | 2024-09-30 10:53:18 +0300 |
commit | e84af3eb727d2c6de00693c48fbec1d6e68fbf9a (patch) | |
tree | 6720539e014b2088fad5ca1d27a8757cfdb9a6c2 /block | |
parent | 6475155d519209c80fdda53e05130365aa769838 (diff) | |
download | qemu-e84af3eb727d2c6de00693c48fbec1d6e68fbf9a.zip qemu-e84af3eb727d2c6de00693c48fbec1d6e68fbf9a.tar.gz qemu-e84af3eb727d2c6de00693c48fbec1d6e68fbf9a.tar.bz2 |
block: Remove unused aio_task_pool_empty
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 <dave@treblig.org>
Message-Id: <20240917002007.330689-1-dave@treblig.org>
Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@yandex-team.ru>
Diffstat (limited to 'block')
-rw-r--r-- | block/aio_task.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/block/aio_task.c b/block/aio_task.c index 9bd17ea..bb5c05f 100644 --- a/block/aio_task.c +++ b/block/aio_task.c @@ -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; -} |