summaryrefslogtreecommitdiff
path: root/main-loop.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 /main-loop.c
parentd318aea9325c99b15c87a7c14865386c2fde0d2c (diff)
downloadqemu-c57b6656c3168bccca7f78b3f740e9149893b3da.tar.gz
qemu-c57b6656c3168bccca7f78b3f740e9149893b3da.tar.bz2
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 'main-loop.c')
-rw-r--r--main-loop.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/main-loop.c b/main-loop.c
index c87624e621..7dba6f6e35 100644
--- a/main-loop.c
+++ b/main-loop.c
@@ -432,11 +432,6 @@ QEMUBH *qemu_bh_new(QEMUBHFunc *cb, void *opaque)
return aio_bh_new(qemu_aio_context, cb, opaque);
}
-void qemu_aio_flush(void)
-{
- aio_flush(qemu_aio_context);
-}
-
bool qemu_aio_wait(void)
{
return aio_poll(qemu_aio_context, true);