summaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
authorAlexey Dobriyan <adobriyan@gmail.com>2008-10-06 04:19:42 +0400
committerAlexey Dobriyan <adobriyan@gmail.com>2008-10-23 17:35:04 +0400
commit5c9fe6281b75832e8d2555ec8700ea763d9a865e (patch)
treea8ef6a23598322e1f93ba5e7ed8d24981f73ac8b /fs
parentb6aa44ab698c7df9d951d3eb45c4fcb8ba68fb25 (diff)
downloadop-kernel-dev-5c9fe6281b75832e8d2555ec8700ea763d9a865e.zip
op-kernel-dev-5c9fe6281b75832e8d2555ec8700ea763d9a865e.tar.gz
proc: move /proc/zoneinfo boilerplate to mm/vmstat.c
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com> Acked-by: Christoph Lameter <cl@linux-foundation.org>
Diffstat (limited to 'fs')
-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 e7a301d..8f3a6f0 100644
--- a/fs/proc/proc_misc.c
+++ b/fs/proc/proc_misc.c
@@ -57,18 +57,6 @@
#include <asm/div64.h>
#include "internal.h"
-static int zoneinfo_open(struct inode *inode, struct file *file)
-{
- return seq_open(file, &zoneinfo_op);
-}
-
-static const struct file_operations proc_zoneinfo_file_operations = {
- .open = zoneinfo_open,
- .read = seq_read,
- .llseek = seq_lseek,
- .release = seq_release,
-};
-
#ifdef CONFIG_BLOCK
static int diskstats_open(struct inode *inode, struct file *file)
{
@@ -234,7 +222,6 @@ void __init proc_misc_init(void)
proc_symlink("mounts", NULL, "self/mounts");
/* And now for trickier ones */
- proc_create("zoneinfo", S_IRUGO, NULL, &proc_zoneinfo_file_operations);
#ifdef CONFIG_BLOCK
proc_create("diskstats", 0, NULL, &proc_diskstats_operations);
#endif
OpenPOWER on IntegriCloud