diff options
author | Thierry Reding <treding@nvidia.com> | 2014-11-06 14:07:14 +0100 |
---|---|---|
committer | Thierry Reding <treding@nvidia.com> | 2014-11-13 13:27:33 +0100 |
commit | 7ff7f0a1a934d0d073560dcabe7508e0a4f75f1c (patch) | |
tree | fa4f2526130e3e775b210c34da1091290e288f5e /drivers/gpu/drm/drm_gem_cma_helper.c | |
parent | f60859522a830c4d31337592b673799c3b914d0a (diff) | |
download | linux-7ff7f0a1a934d0d073560dcabe7508e0a4f75f1c.tar.bz2 |
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 <daniel.vetter@ffwll.ch>
Signed-off-by: Thierry Reding <treding@nvidia.com>
Diffstat (limited to 'drivers/gpu/drm/drm_gem_cma_helper.c')
-rw-r--r-- | drivers/gpu/drm/drm_gem_cma_helper.c | 2 |
1 files changed, 0 insertions, 2 deletions
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) { |