summaryrefslogtreecommitdiffstats
path: root/fs/proc/kcore.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/proc/kcore.c')
-rw-r--r--fs/proc/kcore.c10
1 files changed, 2 insertions, 8 deletions
diff --git a/fs/proc/kcore.c b/fs/proc/kcore.c
index f63bcac6e..01ac4fe2a 100644
--- a/fs/proc/kcore.c
+++ b/fs/proc/kcore.c
@@ -27,14 +27,8 @@ static int open_kcore(struct inode * inode, struct file * filp)
static ssize_t read_kcore(struct file *, char *, size_t, loff_t *);
static struct file_operations proc_kcore_operations = {
- NULL, /* lseek */
- read_kcore,
- NULL, /* write */
- NULL, /* readdir */
- NULL, /* poll */
- NULL, /* ioctl */
- NULL, /* mmap */
- open_kcore
+ read: read_kcore,
+ open: open_kcore,
};
struct inode_operations proc_kcore_inode_operations = {