patch-2.3.99-pre9 linux/drivers/net/wan/comx-hw-locomx.c
Next file: linux/drivers/net/wan/comx-hw-mixcom.c
Previous file: linux/drivers/net/wan/comx-hw-comx.c
Back to the patch index
Back to the overall index
- Lines: 36
- Date:
Sun May 21 20:34:37 2000
- Orig file:
v2.3.99-pre8/linux/drivers/net/wan/comx-hw-locomx.c
- Orig date:
Tue Mar 14 19:10:39 2000
diff -u --recursive --new-file v2.3.99-pre8/linux/drivers/net/wan/comx-hw-locomx.c linux/drivers/net/wan/comx-hw-locomx.c
@@ -330,11 +330,6 @@
int val;
char *page;
- if (file->f_dentry->d_inode->i_ino != entry->low_ino) {
- printk(KERN_ERR "hw_write_proc: file <-> data internal error\n");
- return -EIO;
- }
-
if (!(page = (char *)__get_free_page(GFP_KERNEL))) {
return -ENOMEM;
}
@@ -395,7 +390,6 @@
new_file->data = (void *)new_file;
new_file->read_proc = &locomx_read_proc;
new_file->write_proc = &locomx_write_proc;
- new_file->proc_iops = &comx_normal_inode_ops;
new_file->nlink = 1;
if ((new_file = create_proc_entry(FILENAME_IRQ, S_IFREG | 0644,
@@ -405,7 +399,6 @@
new_file->data = (void *)new_file;
new_file->read_proc = &locomx_read_proc;
new_file->write_proc = &locomx_write_proc;
- new_file->proc_iops = &comx_normal_inode_ops;
new_file->nlink = 1;
/* No clock yet */
@@ -417,7 +410,6 @@
new_file->data = (void *)new_file;
new_file->read_proc = &locomx_read_proc;
new_file->write_proc = &locomx_write_proc;
- new_file->proc_iops = &comx_normal_inode_ops;
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)