Files
qemu/chardev
Stefan Hajnoczi 195ed8cb36 qemu/queue.h: add QLIST_SAFE_REMOVE()
QLIST_REMOVE() assumes the element is in a list.  It also leaves the
element's linked list pointers dangling.

Introduce a safe version of QLIST_REMOVE() and convert open-coded
instances of this pattern.

Signed-off-by: Stefan Hajnoczi <[email protected]>
Reviewed-by: Sergio Lopez <[email protected]>
Message-id: [email protected]
Signed-off-by: Stefan Hajnoczi <[email protected]>
2020-02-22 08:26:47 +00:00
..
2019-08-16 13:31:52 +02:00
2019-08-16 13:31:52 +02:00
2019-08-16 13:31:52 +02:00
2019-08-16 13:31:52 +02:00
2020-02-22 08:26:47 +00:00