Mesa (master): radeon: drop assert accessing cref which is meant to be hidden

Dave Airlie airlied at kemper.freedesktop.org
Wed Dec 16 20:26:55 PST 2009


Module: Mesa
Branch: master
Commit: 1c28073fdfb56a241424c739b57845f47fa05002
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=1c28073fdfb56a241424c739b57845f47fa05002

Author: Dave Airlie <airlied at redhat.com>
Date:   Thu Dec 17 14:19:27 2009 +1000

radeon: drop assert accessing cref which is meant to be hidden

---

 src/mesa/drivers/dri/radeon/radeon_dma.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/src/mesa/drivers/dri/radeon/radeon_dma.c b/src/mesa/drivers/dri/radeon/radeon_dma.c
index b8c65f4..d31e4e4 100644
--- a/src/mesa/drivers/dri/radeon/radeon_dma.c
+++ b/src/mesa/drivers/dri/radeon/radeon_dma.c
@@ -205,7 +205,6 @@ again_alloc:
 		   counter on unused buffers for later freeing them from
 		   begin of list */
 		dma_bo = last_elem(&rmesa->dma.free);
-		assert(dma_bo->bo->cref == 1);
 		remove_from_list(dma_bo);
 		insert_at_head(&rmesa->dma.reserved, dma_bo);
 	}



More information about the mesa-commit mailing list