Re: [PATCH 05/35] coroutine: small code cleanup in qemu_co_rwlock_wrlock

2022-03-10 Thread Philippe Mathieu-Daudé
On 10/3/22 13:43, Paolo Bonzini wrote: qemu_co_rwlock_wrlock stores the current coroutine in a local variable, use it instead of calling qemu_coroutine_self() again. Signed-off-by: Paolo Bonzini --- util/qemu-coroutine-lock.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Reviewed-b

[PATCH 05/35] coroutine: small code cleanup in qemu_co_rwlock_wrlock

2022-03-10 Thread Paolo Bonzini
qemu_co_rwlock_wrlock stores the current coroutine in a local variable, use it instead of calling qemu_coroutine_self() again. Signed-off-by: Paolo Bonzini --- util/qemu-coroutine-lock.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/util/qemu-coroutine-lock.c b/util/qemu-co