svga: remove needless debug-mode linked list code
LIST_DEL() always sets the prev/next pointers to NULL now.
This commit is contained in:
parent
3fffe8f7b7
commit
88ecd0ddb9
|
@ -287,9 +287,7 @@ svga_buffer_upload_flush(struct svga_context *svga,
|
|||
|
||||
assert(sbuf->head.prev && sbuf->head.next);
|
||||
LIST_DEL(&sbuf->head);
|
||||
#ifdef DEBUG
|
||||
sbuf->head.next = sbuf->head.prev = NULL;
|
||||
#endif
|
||||
|
||||
sbuf->dma.pending = FALSE;
|
||||
sbuf->dma.flags.discard = FALSE;
|
||||
sbuf->dma.flags.unsynchronized = FALSE;
|
||||
|
|
Loading…
Reference in New Issue