On Fri, Feb 14, 2020 at 05:17:10PM +, Stefan Hajnoczi wrote:
> 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:
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
---
block.c | 5 +
chardev/spice.c |