patch-2.2.3 linux/drivers/video/igafb.c

Next file: linux/drivers/video/leofb.c
Previous file: linux/drivers/video/fm2fb.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.2.2/linux/drivers/video/igafb.c linux/drivers/video/igafb.c
@@ -304,8 +304,6 @@
 	if (!map_size)
 		return -EINVAL;
 
-	vma->vm_file = file;
-	file->f_count++;
 	vma->vm_flags |= VM_IO;
 
 	if (!fb->mmaped) {

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)