projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3fffe8f
)
svga: remove needless debug-mode linked list code
author
Brian Paul
<brianp@vmware.com>
Thu, 11 Oct 2012 22:02:18 +0000
(16:02 -0600)
committer
Brian Paul
<brianp@vmware.com>
Mon, 15 Oct 2012 13:49:14 +0000
(07:49 -0600)
LIST_DEL() always sets the prev/next pointers to NULL now.
src/gallium/drivers/svga/svga_resource_buffer_upload.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/svga/svga_resource_buffer_upload.c
b/src/gallium/drivers/svga/svga_resource_buffer_upload.c
index f70a3c61c528d429dc40e85bf4765152413b7063..55e66134f600c6f54b9563f8470653c9a4cf1986 100644
(file)
--- 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;