diff options
author | Stefan Hajnoczi <stefanha@redhat.com> | 2013-04-11 17:26:25 +0200 |
---|---|---|
committer | Stefan Hajnoczi <stefanha@redhat.com> | 2013-08-19 15:52:19 +0200 |
commit | f2e5dca46b5ba4588c0756c5f272123585cbbf23 (patch) | |
tree | 693159f35caa1c23a53326638eb72f925d5a513d /block/linux-aio.c | |
parent | 1b9ecdb16475485dffbcac7ff7f36dafa9e3cfd2 (diff) | |
download | qemu-f2e5dca46b5ba4588c0756c5f272123585cbbf23.zip qemu-f2e5dca46b5ba4588c0756c5f272123585cbbf23.tar.gz qemu-f2e5dca46b5ba4588c0756c5f272123585cbbf23.tar.bz2 |
aio: drop io_flush argument
The .io_flush() handler no longer exists and has no users. Drop the
io_flush argument to aio_set_fd_handler() and related functions.
The AioFlushEventNotifierHandler and AioFlushHandler typedefs are no
longer used and are dropped too.
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'block/linux-aio.c')
-rw-r--r-- | block/linux-aio.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/block/linux-aio.c b/block/linux-aio.c index d9128f3..53434e2 100644 --- a/block/linux-aio.c +++ b/block/linux-aio.c @@ -190,8 +190,7 @@ void *laio_init(void) goto out_close_efd; } - qemu_aio_set_event_notifier(&s->e, qemu_laio_completion_cb, - NULL); + qemu_aio_set_event_notifier(&s->e, qemu_laio_completion_cb); return s; |