aboutsummaryrefslogtreecommitdiffstats
path: root/fs/proc/proc_misc.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/proc/proc_misc.c')
-rw-r--r--fs/proc/proc_misc.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/fs/proc/proc_misc.c b/fs/proc/proc_misc.c
index e7a301d5d432..8f3a6f085c5f 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
60static int zoneinfo_open(struct inode *inode, struct file *file)
61{
62 return seq_open(file, &zoneinfo_op);
63}
64
65static const struct file_operations proc_zoneinfo_file_operations = {
66 .open = zoneinfo_open,
67 .read = seq_read,
68 .llseek = seq_lseek,
69 .release = seq_release,
70};
71
72#ifdef CONFIG_BLOCK 60#ifdef CONFIG_BLOCK
73static int diskstats_open(struct inode *inode, struct file *file) 61static int diskstats_open(struct inode *inode, struct file *file)
74{ 62{
@@ -234,7 +222,6 @@ void __init proc_misc_init(void)
234 proc_symlink("mounts", NULL, "self/mounts"); 222 proc_symlink("mounts", NULL, "self/mounts");
235 223
236 /* And now for trickier ones */ 224 /* And now for trickier ones */
237 proc_create("zoneinfo", S_IRUGO, NULL, &proc_zoneinfo_file_operations);
238#ifdef CONFIG_BLOCK 225#ifdef CONFIG_BLOCK
239 proc_create("diskstats", 0, NULL, &proc_diskstats_operations); 226 proc_create("diskstats", 0, NULL, &proc_diskstats_operations);
240#endif 227#endif