summaryrefslogtreecommitdiffstats
path: root/drivers/video/igafb.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/video/igafb.c')
-rw-r--r--drivers/video/igafb.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/video/igafb.c b/drivers/video/igafb.c
index e3a86c868..d6173e77e 100644
--- a/drivers/video/igafb.c
+++ b/drivers/video/igafb.c
@@ -304,8 +304,6 @@ static int igafb_mmap(struct fb_info *info, struct file *file,
if (!map_size)
return -EINVAL;
- vma->vm_file = file;
- file->f_count++;
vma->vm_flags |= VM_IO;
if (!fb->mmaped) {