i915: Remove left-over drmUnmap()

This commit is contained in:
Kristian Høgsberg
2010-02-11 16:34:11 -05:00
parent 362fa6763c
commit fa43956b5c
2 changed files with 1 additions and 7 deletions

View File

@@ -287,11 +287,6 @@ intel_region_release(struct intel_region **region_handle)
region->pbo = NULL;
dri_bo_unreference(region->buffer);
if (region->classic_map != NULL) {
drmUnmap(region->classic_map,
region->pitch * region->cpp * region->height);
}
free(region);
}
*region_handle = NULL;