diff options
author | Dave Airlie <airlied@redhat.com> | 2012-02-23 15:37:26 +0400 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2012-03-05 15:19:08 +0400 |
commit | 966e0cdd504657333415f43de6a219197511ebff (patch) | |
tree | 62aa0782141b62ad2a0c22ba2249fa8e2d94fe5e /drivers/gpu/drm/i810 | |
parent | 81ffbbedc37c6043e5f5b123da926aa7dd8ad60a (diff) | |
download | linux-966e0cdd504657333415f43de6a219197511ebff.tar.xz |
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/i810')
-rw-r--r-- | drivers/gpu/drm/i810/i810_dma.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/gpu/drm/i810/i810_dma.c b/drivers/gpu/drm/i810/i810_dma.c index 64a989ed5b8f..2c8a60c3b98e 100644 --- a/drivers/gpu/drm/i810/i810_dma.c +++ b/drivers/gpu/drm/i810/i810_dma.c @@ -99,7 +99,6 @@ static int i810_mmap_buffers(struct file *filp, struct vm_area_struct *vma) buf_priv = buf->dev_private; vma->vm_flags |= (VM_IO | VM_DONTCOPY); - vma->vm_file = filp; buf_priv->currently_mapped = I810_BUF_MAPPED; |