svga: remove needless debug-mode linked list code

LIST_DEL() always sets the prev/next pointers to NULL now.
This commit is contained in:
Brian Paul 2012-10-11 16:02:18 -06:00
parent 3fffe8f7b7
commit 88ecd0ddb9
1 changed files with 1 additions and 3 deletions

View File

@ -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;