summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2011-09-22 17:12:53 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2011-09-22 17:13:15 +0100
commit31857068026138fe5edd8656381fc1ae59d3058b (patch)
tree342b1296f246f75fa6642c31005baa6c0b3efadd
parent61764af13aa3c770d19d51c8ad198cab8a5866f1 (diff)
sna: move an assert
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
-rw-r--r--src/sna/kgem.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/sna/kgem.c b/src/sna/kgem.c
index 4a739713..b5c342dd 100644
--- a/src/sna/kgem.c
+++ b/src/sna/kgem.c
@@ -562,7 +562,6 @@ static void __kgem_bo_destroy(struct kgem *kgem, struct kgem_bo *bo)
list_add(&bo->request, &kgem->flushing);
list_move(&bo->list, active(kgem, bo->size));
} else {
- assert(!kgem_busy(kgem, bo->handle));
list_move(&bo->list, inactive(kgem, bo->size));
}