summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorCao jin2016-07-15 12:28:44 +0200
committerStefan Hajnoczi2016-07-18 16:10:52 +0200
commit7e00346505feb94ee740d311621eb0bf4c14d6db (patch)
treec4612165af3f5fe678ac4454186c6fded1947ad2 /include
parentlinux-aio: prevent submitting more than MAX_EVENTS (diff)
downloadqemu-7e00346505feb94ee740d311621eb0bf4c14d6db.tar.gz
qemu-7e00346505feb94ee740d311621eb0bf4c14d6db.tar.xz
qemu-7e00346505feb94ee740d311621eb0bf4c14d6db.zip
aio-posix: remove useless parameter
Parameter **errp of aio_context_setup() is useless, remove it and clean up the related code. Cc: Stefan Hajnoczi <stefanha@redhat.com> Cc: Fam Zheng <famz@redhat.com> Cc: Eric Blake <eblake@redhat.com> Signed-off-by: Cao jin <caoj.fnst@cn.fujitsu.com> Reviewed-by: Eric Blake <eblake@redhat.com> Message-id: 1468578524-23433-1-git-send-email-caoj.fnst@cn.fujitsu.com Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'include')
-rw-r--r--include/block/aio.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/block/aio.h b/include/block/aio.h
index afd72a7516..209551deb2 100644
--- a/include/block/aio.h
+++ b/include/block/aio.h
@@ -452,6 +452,6 @@ static inline bool aio_node_check(AioContext *ctx, bool is_external)
*
* Initialize the aio context.
*/
-void aio_context_setup(AioContext *ctx, Error **errp);
+void aio_context_setup(AioContext *ctx);
#endif