From 529c593ece216e4aaffd36bd940cb94f1fa63129 Mon Sep 17 00:00:00 2001 From: Ralf Baechle Date: Wed, 23 Feb 2000 00:40:54 +0000 Subject: Merge with 2.3.43. I did ignore all modifications to the qlogicisp.c driver due to the Origin A64 hacks. --- kernel/sysctl.c | 16 ++-------------- 1 file changed, 2 insertions(+), 14 deletions(-) (limited to 'kernel/sysctl.c') diff --git a/kernel/sysctl.c b/kernel/sysctl.c index 50ba37060..9a6a7a74d 100644 --- a/kernel/sysctl.c +++ b/kernel/sysctl.c @@ -111,17 +111,8 @@ static int proc_sys_permission(struct inode *, int); struct file_operations proc_sys_file_operations = { - NULL, /* lseek */ - proc_readsys, /* read */ - proc_writesys, /* write */ - NULL, /* readdir */ - NULL, /* poll */ - NULL, /* ioctl */ - NULL, /* mmap */ - NULL, /* no special open code */ - NULL, /* no special flush code */ - NULL, /* no special release code */ - NULL /* can't fsync */ + read: proc_readsys, + write: proc_writesys, }; struct inode_operations proc_sys_inode_operations = @@ -138,9 +129,6 @@ struct inode_operations proc_sys_inode_operations = NULL, /* rename */ NULL, /* readlink */ NULL, /* follow_link */ - NULL, /* get_block */ - NULL, /* readpage */ - NULL, /* writepage */ NULL, /* truncate */ proc_sys_permission, /* permission */ NULL /* revalidate */ -- cgit v1.2.3