aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé <philmd@linaro.org>2023-11-20 18:18:06 +0100
committerStefan Hajnoczi <stefanha@redhat.com>2024-01-08 10:45:34 -0500
commit897a06c6d7ce8fb962a33cea1910d17218c746e9 (patch)
treea9917e4fe7b6d717d125067ee4d22663b8a6a9ec /include
parentffd454c67e38cc6df792733ebc5d967eee28ac0d (diff)
downloadqemu-897a06c6d7ce8fb962a33cea1910d17218c746e9.zip
qemu-897a06c6d7ce8fb962a33cea1910d17218c746e9.tar.gz
qemu-897a06c6d7ce8fb962a33cea1910d17218c746e9.tar.bz2
iothread: Remove unused Error** argument in aio_context_set_aio_params
aio_context_set_aio_params() doesn't use its undocumented Error** argument. Remove it to simplify. Note this removes a use of "unchecked Error**" in iothread_set_aio_context_params(). Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org> Reviewed-by: Markus Armbruster <armbru@redhat.com> Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com> Message-ID: <20231120171806.19361-1-philmd@linaro.org>
Diffstat (limited to 'include')
-rw-r--r--include/block/aio.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/block/aio.h b/include/block/aio.h
index af05512..c802a39 100644
--- a/include/block/aio.h
+++ b/include/block/aio.h
@@ -699,8 +699,7 @@ void aio_context_set_poll_params(AioContext *ctx, int64_t max_ns,
* @max_batch: maximum number of requests in a batch, 0 means that the
* engine will use its default
*/
-void aio_context_set_aio_params(AioContext *ctx, int64_t max_batch,
- Error **errp);
+void aio_context_set_aio_params(AioContext *ctx, int64_t max_batch);
/**
* aio_context_set_thread_pool_params: