diff options
author | Fiona Ebner <f.ebner@proxmox.com> | 2025-05-30 17:10:59 +0200 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2025-06-04 18:16:34 +0200 |
commit | b04b7c79c478743d414a684673519431b022c808 (patch) | |
tree | e7714156a830326ced2fcd51ff486093592215a3 /hw/avr/arduino.c | |
parent | 09d98a018e1fd2db0bb73bbe9b4a7110c8ae354f (diff) | |
download | qemu-b04b7c79c478743d414a684673519431b022c808.zip qemu-b04b7c79c478743d414a684673519431b022c808.tar.gz qemu-b04b7c79c478743d414a684673519431b022c808.tar.bz2 |
block/io: remove duplicate GLOBAL_STATE_CODE() in bdrv_do_drained_end()
Both commit ab61335025 ("block: drain from main loop thread in
bdrv_co_yield_to_drain()") and commit d05ab380db ("block: Mark drain
related functions GRAPH_RDLOCK") introduced a GLOBAL_STATE_CODE()
macro in bdrv_do_drained_end(). The assertion of being in the main
thread cannot change here, so keep only the earlier instance.
Signed-off-by: Fiona Ebner <f.ebner@proxmox.com>
Message-ID: <20250530151125.955508-23-f.ebner@proxmox.com>
Reviewed-by: Kevin Wolf <kwolf@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'hw/avr/arduino.c')
0 files changed, 0 insertions, 0 deletions