diff options
author | Philippe Mathieu-Daudé <philmd@linaro.org> | 2023-11-20 18:18:06 +0100 |
---|---|---|
committer | Stefan Hajnoczi <stefanha@redhat.com> | 2024-01-08 10:45:34 -0500 |
commit | 897a06c6d7ce8fb962a33cea1910d17218c746e9 (patch) | |
tree | a9917e4fe7b6d717d125067ee4d22663b8a6a9ec /iothread.c | |
parent | ffd454c67e38cc6df792733ebc5d967eee28ac0d (diff) |
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 'iothread.c')
-rw-r--r-- | iothread.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/iothread.c b/iothread.c index b753286414..6c1fc8c856 100644 --- a/iothread.c +++ b/iothread.c @@ -170,8 +170,7 @@ static void iothread_set_aio_context_params(EventLoopBase *base, Error **errp) } aio_context_set_aio_params(iothread->ctx, - iothread->parent_obj.aio_max_batch, - errp); + iothread->parent_obj.aio_max_batch); aio_context_set_thread_pool_params(iothread->ctx, base->thread_pool_min, base->thread_pool_max, errp); |