diff options
author | Mahmoud Mandour | 2021-03-11 04:15:34 +0100 |
---|---|---|
committer | Dr. David Alan Gilbert | 2021-03-15 21:01:55 +0100 |
commit | a8e2ab5db2181b68f371ee794e1a0fe7ca6f5e24 (patch) | |
tree | 806b209449a4392d0b33b3ff1b918a771b571567 /hw/net/cadence_gem.c | |
parent | migration/tls: add error handling in multifd_tls_handshake_thread (diff) | |
download | qemu-a8e2ab5db2181b68f371ee794e1a0fe7ca6f5e24.tar.gz qemu-a8e2ab5db2181b68f371ee794e1a0fe7ca6f5e24.tar.xz qemu-a8e2ab5db2181b68f371ee794e1a0fe7ca6f5e24.zip |
monitor: Replaced qemu_mutex_lock calls with QEMU_LOCK_GUARD
Removed various qemu_mutex_lock and their respective qemu_mutex_unlock
calls and used lock guard macros (QEMU_LOCK_GUARD and
WITH_QEMU_LOCK_GUARD). This simplifies the code by
eliminating qemu_mutex_unlock calls.
Signed-off-by: Mahmoud Mandour <ma.mandourr@gmail.com>
Message-Id: <20210311031538.5325-6-ma.mandourr@gmail.com>
Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Diffstat (limited to 'hw/net/cadence_gem.c')
0 files changed, 0 insertions, 0 deletions