aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas White <taw@bitwiz.org.uk>2009-08-21 12:20:39 +0100
committerThomas White <taw@bitwiz.org.uk>2009-10-17 12:31:13 +0200
commiteaa5e239a720bc9f88816ffa77549d59673fa381 (patch)
tree23728455c7d7bfea92c9e7e47f2bfac3c3390b3f
parent05150c95a2799a64f4bdc629b9d63cfa31b5dfb2 (diff)
Remove log message when deleting with map_count > 0
This happens all the time with the latest DDX changes. No point filling the log up.
-rw-r--r--libdrm/glamo/glamo_bo_gem.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/libdrm/glamo/glamo_bo_gem.c b/libdrm/glamo/glamo_bo_gem.c
index 5bda1c4c..2fe3f82f 100644
--- a/libdrm/glamo/glamo_bo_gem.c
+++ b/libdrm/glamo/glamo_bo_gem.c
@@ -175,10 +175,6 @@ static struct glamo_bo *bo_unref(struct glamo_bo *bo)
return bo;
}
if (bo_gem->map_count) {
- fprintf(stderr, "Map count for %p isn't zero (=%i),"
- " so I am unmapping it (%p, %i)\n",
- bo_gem, bo_gem->map_count, bo->virtual,
- bo->size);
munmap(bo->virtual, bo->size);
}