diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2012-09-13 13:43:38 +0200 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2012-10-30 09:30:52 +0100 |
commit | b078dc3cfec2d6d037caef91204ebf0a78e7ac06 (patch) | |
tree | 7ff8698b49bc120d34198d84016e4b959916160d /aio.c | |
parent | 1c53786fbdbdf20a3a6c556e09abb4d63ee7843e (diff) |
aio: change qemu_aio_set_fd_handler to return void
Reviewed-by: Anthony Liguori <aliguori@us.ibm.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'aio.c')
-rw-r--r-- | aio.c | 12 |
1 files changed, 5 insertions, 7 deletions
@@ -53,11 +53,11 @@ static AioHandler *find_aio_handler(int fd) return NULL; } -int qemu_aio_set_fd_handler(int fd, - IOHandler *io_read, - IOHandler *io_write, - AioFlushHandler *io_flush, - void *opaque) +void qemu_aio_set_fd_handler(int fd, + IOHandler *io_read, + IOHandler *io_write, + AioFlushHandler *io_flush, + void *opaque) { AioHandler *node; @@ -93,8 +93,6 @@ int qemu_aio_set_fd_handler(int fd, } qemu_set_fd_handler2(fd, NULL, io_read, io_write, opaque); - - return 0; } void qemu_aio_flush(void) |