aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/exynos
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2012-02-23 06:37:26 -0500
committerDave Airlie <airlied@redhat.com>2012-03-05 06:19:08 -0500
commit966e0cdd504657333415f43de6a219197511ebff (patch)
tree62aa0782141b62ad2a0c22ba2249fa8e2d94fe5e /drivers/gpu/drm/exynos
parent81ffbbedc37c6043e5f5b123da926aa7dd8ad60a (diff)
drm: drop setting vm_file to filp
Talking to Al Viro on irc, we can see no possible reason for doing this, the upper mmap code does it. The code has been there since first import into drm tree I can find. Al tracked down this as a requirement pre 2.3.51 hasn't been needed since. Acked-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/exynos')
-rw-r--r--drivers/gpu/drm/exynos/exynos_drm_gem.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/gpu/drm/exynos/exynos_drm_gem.c b/drivers/gpu/drm/exynos/exynos_drm_gem.c
index 025abb3e3b67..65452512f5b4 100644
--- a/drivers/gpu/drm/exynos/exynos_drm_gem.c
+++ b/drivers/gpu/drm/exynos/exynos_drm_gem.c
@@ -208,7 +208,6 @@ static int exynos_drm_gem_mmap_buffer(struct file *filp,
208 208
209 /* in case of direct mapping, always having non-cachable attribute */ 209 /* in case of direct mapping, always having non-cachable attribute */
210 vma->vm_page_prot = pgprot_noncached(vma->vm_page_prot); 210 vma->vm_page_prot = pgprot_noncached(vma->vm_page_prot);
211 vma->vm_file = filp;
212 211
213 vm_size = vma->vm_end - vma->vm_start; 212 vm_size = vma->vm_end - vma->vm_start;
214 /* 213 /*