mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-07-27 04:13:53 -06:00
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>
This commit is contained in:
parent
ffd454c67e
commit
897a06c6d7
5 changed files with 5 additions and 12 deletions
|
@ -192,10 +192,7 @@ static void main_loop_update_params(EventLoopBase *base, Error **errp)
|
|||
return;
|
||||
}
|
||||
|
||||
aio_context_set_aio_params(qemu_aio_context, base->aio_max_batch, errp);
|
||||
if (*errp) {
|
||||
return;
|
||||
}
|
||||
aio_context_set_aio_params(qemu_aio_context, base->aio_max_batch);
|
||||
|
||||
aio_context_set_thread_pool_params(qemu_aio_context, base->thread_pool_min,
|
||||
base->thread_pool_max, errp);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue