drm: drop setting vm_file to filp
authorDave Airlie <airlied@redhat.com>
Thu, 23 Feb 2012 11:37:26 +0000 (11:37 +0000)
committerDave Airlie <airlied@redhat.com>
Mon, 5 Mar 2012 11:19:08 +0000 (11:19 +0000)
commit966e0cdd504657333415f43de6a219197511ebff
tree62aa0782141b62ad2a0c22ba2249fa8e2d94fe5e
parent81ffbbedc37c6043e5f5b123da926aa7dd8ad60a
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>
drivers/gpu/drm/drm_gem.c
drivers/gpu/drm/drm_vm.c
drivers/gpu/drm/exynos/exynos_drm_gem.c
drivers/gpu/drm/i810/i810_dma.c