patch-2.2.3 linux/drivers/sound/sonicvibes.c
Next file: linux/drivers/sound/sound_core.c
Previous file: linux/drivers/sound/sequencer.c
Back to the patch index
Back to the overall index
-  Lines: 9
-  Date:
Sun Mar  7 10:37:54 1999
-  Orig file: 
v2.2.2/linux/drivers/sound/sonicvibes.c
-  Orig date: 
Fri Jan  8 22:36:12 1999
diff -u --recursive --new-file v2.2.2/linux/drivers/sound/sonicvibes.c linux/drivers/sound/sonicvibes.c
@@ -1431,8 +1431,6 @@
 	if (remap_page_range(vma->vm_start, virt_to_phys(db->rawbuf), size, vma->vm_page_prot))
 		return -EAGAIN;
 	db->mapped = 1;
-	vma->vm_file = file;
-	file->f_count++;
 	return 0;
 }
 
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)