|
From: | Philippe Mathieu-Daudé |
Subject: | Re: [PATCH 05/35] coroutine: small code cleanup in qemu_co_rwlock_wrlock |
Date: | Thu, 10 Mar 2022 15:10:28 +0100 |
User-agent: | Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:91.0) Gecko/20100101 Thunderbird/91.6.1 |
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 <pbonzini@redhat.com> --- util/qemu-coroutine-lock.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
[Prev in Thread] | Current Thread | [Next in Thread] |