diff options
| author | Kevin Wolf <kwolf@redhat.com> | 2012-11-13 16:35:13 +0100 |
|---|---|---|
| committer | Kevin Wolf <kwolf@redhat.com> | 2012-12-11 11:04:25 +0100 |
| commit | c57b6656c3168bccca7f78b3f740e9149893b3da (patch) | |
| tree | 1bca90ca7373adfb9ec40ea394d47e1c4804a35d /async.c | |
| parent | d318aea9325c99b15c87a7c14865386c2fde0d2c (diff) | |
| download | focaccia-qemu-c57b6656c3168bccca7f78b3f740e9149893b3da.tar.gz focaccia-qemu-c57b6656c3168bccca7f78b3f740e9149893b3da.zip | |
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.c | 5 |
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)); -} |