diff options
Diffstat (limited to 'fs/proc')
-rw-r--r-- | fs/proc/proc_misc.c | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/fs/proc/proc_misc.c b/fs/proc/proc_misc.c index a35e50659b8d..900331a634ef 100644 --- a/fs/proc/proc_misc.c +++ b/fs/proc/proc_misc.c | |||
@@ -57,18 +57,6 @@ | |||
57 | #include <asm/div64.h> | 57 | #include <asm/div64.h> |
58 | #include "internal.h" | 58 | #include "internal.h" |
59 | 59 | ||
60 | static int pagetypeinfo_open(struct inode *inode, struct file *file) | ||
61 | { | ||
62 | return seq_open(file, &pagetypeinfo_op); | ||
63 | } | ||
64 | |||
65 | static const struct file_operations pagetypeinfo_file_ops = { | ||
66 | .open = pagetypeinfo_open, | ||
67 | .read = seq_read, | ||
68 | .llseek = seq_lseek, | ||
69 | .release = seq_release, | ||
70 | }; | ||
71 | |||
72 | static int zoneinfo_open(struct inode *inode, struct file *file) | 60 | static int zoneinfo_open(struct inode *inode, struct file *file) |
73 | { | 61 | { |
74 | return seq_open(file, &zoneinfo_op); | 62 | return seq_open(file, &zoneinfo_op); |
@@ -257,7 +245,6 @@ void __init proc_misc_init(void) | |||
257 | proc_symlink("mounts", NULL, "self/mounts"); | 245 | proc_symlink("mounts", NULL, "self/mounts"); |
258 | 246 | ||
259 | /* And now for trickier ones */ | 247 | /* And now for trickier ones */ |
260 | proc_create("pagetypeinfo", S_IRUGO, NULL, &pagetypeinfo_file_ops); | ||
261 | proc_create("vmstat", S_IRUGO, NULL, &proc_vmstat_file_operations); | 248 | proc_create("vmstat", S_IRUGO, NULL, &proc_vmstat_file_operations); |
262 | proc_create("zoneinfo", S_IRUGO, NULL, &proc_zoneinfo_file_operations); | 249 | proc_create("zoneinfo", S_IRUGO, NULL, &proc_zoneinfo_file_operations); |
263 | #ifdef CONFIG_BLOCK | 250 | #ifdef CONFIG_BLOCK |