diff options
author | Brian Paul <[email protected]> | 2012-10-11 16:02:18 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2012-10-15 07:49:14 -0600 |
commit | 88ecd0ddb986a245c4d603dab2670aa8530ae132 (patch) | |
tree | 1c1070200da27fe5a8f8a080091810acecd9a774 /src | |
parent | 3fffe8f7b77938fcbf449a7f9a2ae9614c8e2bd4 (diff) |
svga: remove needless debug-mode linked list code
LIST_DEL() always sets the prev/next pointers to NULL now.
Diffstat (limited to 'src')
-rw-r--r-- | src/gallium/drivers/svga/svga_resource_buffer_upload.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/gallium/drivers/svga/svga_resource_buffer_upload.c b/src/gallium/drivers/svga/svga_resource_buffer_upload.c index f70a3c61c52..55e66134f60 100644 --- a/src/gallium/drivers/svga/svga_resource_buffer_upload.c +++ b/src/gallium/drivers/svga/svga_resource_buffer_upload.c @@ -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; |