aboutsummaryrefslogtreecommitdiff
path: root/async.c
diff options
context:
space:
mode:
authorKevin Wolf <kwolf@redhat.com>2012-11-13 16:35:13 +0100
committerKevin Wolf <kwolf@redhat.com>2012-12-11 11:04:25 +0100
commitc57b6656c3168bccca7f78b3f740e9149893b3da (patch)
tree1bca90ca7373adfb9ec40ea394d47e1c4804a35d /async.c
parentd318aea9325c99b15c87a7c14865386c2fde0d2c (diff)
downloadqemu-arm-c57b6656c3168bccca7f78b3f740e9149893b3da.tar.gz
aio: Get rid of qemu_aio_flush()
There are no remaining users, and new users should probably be using bdrv_drain_all() in the first place. Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'async.c')
-rw-r--r--async.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/async.c b/async.c
index 3f0e8f367c..41ae0c1195 100644
--- a/async.c
+++ b/async.c
@@ -215,8 +215,3 @@ void aio_context_unref(AioContext *ctx)
{
g_source_unref(&ctx->source);
}
-
-void aio_flush(AioContext *ctx)
-{
- while (aio_poll(ctx, true));
-}