radeon: drop assert accessing cref which is meant to be hidden
authorDave Airlie <airlied@redhat.com>
Thu, 17 Dec 2009 04:19:27 +0000 (14:19 +1000)
committerDave Airlie <airlied@redhat.com>
Thu, 17 Dec 2009 04:23:53 +0000 (14:23 +1000)
src/mesa/drivers/dri/radeon/radeon_dma.c

index b8c65f4ce621ace32269fd355e3dd9cf7aa8ac36..d31e4e47ddbbae1401bd5e14b7c373a76fc0eb42 100644 (file)
@@ -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);
        }