summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2013-01-31 18:08:05 +0000
committerChris Wilson <chris@chris-wilson.co.uk>2013-01-31 18:08:05 +0000
commit9712f49fddc8be939f77c25fcb907873af44619f (patch)
tree181d3bef0f749755d0d27f16c24467872dc42275 /src
parentcd7df0004cf6e423d2ae6c0cf83a84e0031161b4 (diff)
sna: Remove stale assertion
Now the reset is meant to restablish 'rq' if the bo was busy. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src')
-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 e0209696..4f9306af 100644
--- a/src/sna/kgem.c
+++ b/src/sna/kgem.c
@@ -1763,7 +1763,6 @@ static void __kgem_bo_destroy(struct kgem *kgem, struct kgem_bo *bo)
assert(RQ(bo->rq) == kgem->next_request);
bo->refcnt = 1;
kgem_reset(kgem);
- assert(bo->rq == NULL);
bo->refcnt = 0;
}