summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/sna/kgem.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/sna/kgem.c b/src/sna/kgem.c
index c309caed..863ab8a2 100644
--- a/src/sna/kgem.c
+++ b/src/sna/kgem.c
@@ -5190,10 +5190,8 @@ void kgem_bo_sync__cpu(struct kgem *kgem, struct kgem_bo *bo)
/* SHM pixmaps use proxies for subpage offsets */
assert(!bo->purged);
- assert(bo->refcnt);
while (bo->proxy)
bo = bo->proxy;
- assert(bo->refcnt);
assert(!bo->purged);
if (bo->domain != DOMAIN_CPU || FORCE_MMAP_SYNC & (1 << DOMAIN_CPU)) {