qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH 1/3] tests/unit/test-qmp-event: Drop superfluous mutex


From: Thomas Huth
Subject: Re: [PATCH 1/3] tests/unit/test-qmp-event: Drop superfluous mutex
Date: Wed, 22 Nov 2023 09:03:49 +0100
User-agent: Mozilla Thunderbird

On 22/11/2023 08.24, Markus Armbruster wrote:
Mutex @test_event_lock is held from fixture setup to teardown,
protecting global variable @test_event_data.  But tests always run one
after the other, so this is superfluous.  It also confuses Coverity.
Drop the mutex.

Fixes: CID 1527425
Signed-off-by: Markus Armbruster <armbru@redhat.com>
---
  tests/unit/test-qmp-event.c | 5 -----
  1 file changed, 5 deletions(-)

Reviewed-by: Thomas Huth <thuth@redhat.com>




reply via email to

[Prev in Thread] Current Thread [Next in Thread]