From: Thierry Reding Date: Thu, 6 Nov 2014 13:07:14 +0000 (+0100) Subject: drm/cma: Remove call to drm_gem_free_mmap_offset() X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=7ff7f0a1a934d0d073560dcabe7508e0a4f75f1c;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git drm/cma: Remove call to drm_gem_free_mmap_offset() drm_gem_object_release() called later in the drm_gem_cma_free_object() function already calls this, so there's no need to do this explicitly. Reviewed-by: Daniel Vetter Signed-off-by: Thierry Reding --- diff --git a/drivers/gpu/drm/drm_gem_cma_helper.c b/drivers/gpu/drm/drm_gem_cma_helper.c index 864b0863d042..e419eedf751d 100644 --- a/drivers/gpu/drm/drm_gem_cma_helper.c +++ b/drivers/gpu/drm/drm_gem_cma_helper.c @@ -187,8 +187,6 @@ void drm_gem_cma_free_object(struct drm_gem_object *gem_obj) { struct drm_gem_cma_object *cma_obj; - drm_gem_free_mmap_offset(gem_obj); - cma_obj = to_drm_gem_cma_obj(gem_obj); if (cma_obj->vaddr) {