patch-2.3.25 linux/drivers/sbus/char/flash.c

Next file: linux/drivers/scsi/53c8xx_d.h
Previous file: linux/drivers/sbus/char/Config.in
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.24/linux/drivers/sbus/char/flash.c linux/drivers/sbus/char/flash.c
@@ -37,9 +37,6 @@
 	unsigned long addr;
 	unsigned long size;
 
-	if (vma->vm_offset & ~(PAGE_MASK))
-		return -ENXIO;
-
 	if (flash.read_base == flash.write_base) {
 		addr = flash.read_base;
 		size = flash.read_size;

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