patch-2.3.99-pre9 linux/drivers/net/wan/comx-proto-lapb.c

Next file: linux/drivers/net/wan/comx.c
Previous file: linux/drivers/net/wan/comx-proto-fr.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.99-pre8/linux/drivers/net/wan/comx-proto-lapb.c linux/drivers/net/wan/comx-proto-lapb.c
@@ -221,11 +221,6 @@
 	unsigned long parm;
 	char *page;
 
-	if (file->f_dentry->d_inode->i_ino != entry->low_ino) {
-		printk(KERN_ERR "comxlapb_write_proc: file <-> data internal error\n");
-		return -EIO;
-	}
-
 	if (lapb_getparms(dev->priv, &parms)) {
 		return -ENODEV;
 	}
@@ -499,7 +494,6 @@
 		new_file->data = (void *)new_file;
 		new_file->read_proc = &comxlapb_read_proc;
 		new_file->write_proc = &comxlapb_write_proc;
-		new_file->proc_iops = &comx_normal_inode_ops;
 		new_file->size = size;
 		new_file->nlink = 1;
 	}

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