diff options
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_bufmgr.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_bufmgr.c b/src/mesa/drivers/dri/i965/brw_bufmgr.c index 64f54498672..4b6433178d0 100644 --- a/src/mesa/drivers/dri/i965/brw_bufmgr.c +++ b/src/mesa/drivers/dri/i965/brw_bufmgr.c @@ -827,9 +827,6 @@ brw_bo_unmap(struct brw_bo *bo) struct brw_bufmgr *bufmgr = bo->bufmgr; int ret = 0; - if (bo == NULL) - return 0; - pthread_mutex_lock(&bufmgr->lock); if (bo->map_count <= 0) { |