diff options
author | Markus Armbruster <armbru@redhat.com> | 2023-11-22 08:24:54 +0100 |
---|---|---|
committer | Thomas Huth <thuth@redhat.com> | 2023-12-20 10:29:23 +0100 |
commit | c363764a6048f64d11c6cabf180154cf6f13ac3a (patch) | |
tree | e04cccb64f5269f2be4f9fed6ddf064d41456fb1 /hw/core/machine.c | |
parent | 71dc6ca2a8fa0eca8ab8e87e6a55cb0114fa4c85 (diff) |
tests/unit/test-qmp-event: Drop superfluous mutex
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>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Message-ID: <20231122072456.2518816-2-armbru@redhat.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
Diffstat (limited to 'hw/core/machine.c')
0 files changed, 0 insertions, 0 deletions