diff options
author | Joonyoung Shim <jy0922.shim@samsung.com> | 2015-09-25 18:10:32 +0900 |
---|---|---|
committer | Inki Dae <inki.dae@samsung.com> | 2015-09-30 16:39:41 +0900 |
commit | 8755556fbbdd1a6af21a3c4d9ce8f451e999e457 (patch) | |
tree | 2532e70d1f4688fefad10e415d9f49c1d6aba500 /drivers/gpu | |
parent | b9e71911f34616276399da3dc1abc47797be2396 (diff) | |
download | op-kernel-dev-8755556fbbdd1a6af21a3c4d9ce8f451e999e457.zip op-kernel-dev-8755556fbbdd1a6af21a3c4d9ce8f451e999e457.tar.gz |
drm/exynos: remove call to drm_gem_free_mmap_offset()
The drm_gem_object_release() function already performs this cleanup,
so there is no reason to do it explicitly.
Signed-off-by: Joonyoung Shim <jy0922.shim@samsung.com>
Signed-off-by: Inki Dae <inki.dae@samsung.com>
Diffstat (limited to 'drivers/gpu')
-rw-r--r-- | drivers/gpu/drm/exynos/exynos_drm_gem.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/gpu/drm/exynos/exynos_drm_gem.c b/drivers/gpu/drm/exynos/exynos_drm_gem.c index 3df1e0e..5c94863 100644 --- a/drivers/gpu/drm/exynos/exynos_drm_gem.c +++ b/drivers/gpu/drm/exynos/exynos_drm_gem.c @@ -152,8 +152,6 @@ void exynos_drm_gem_destroy(struct exynos_drm_gem_obj *exynos_gem_obj) else exynos_drm_free_buf(exynos_gem_obj); - drm_gem_free_mmap_offset(obj); - /* release file pointer to gem object. */ drm_gem_object_release(obj); @@ -530,7 +528,6 @@ int exynos_drm_gem_mmap(struct file *filp, struct vm_area_struct *vma) err_close_vm: drm_gem_vm_close(vma); - drm_gem_free_mmap_offset(obj); return ret; } |