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>
Tue, 22 Dec 2009 00:23:41 +0000 (10:23 +1000)
src/mesa/drivers/dri/radeon/radeon_dma.c

index c9a32c808bef93c3381b9983c0254fc4def22e07..232972d7ec748a3803a686686cd642ac917176d4 100644 (file)
@@ -207,7 +207,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);
        }