aboutsummaryrefslogtreecommitdiffstats
path: root/fs/proc
diff options
context:
space:
mode:
Diffstat (limited to 'fs/proc')
-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 542527f6630f..ec37d3aeaf19 100644
--- a/fs/proc/proc_misc.c
+++ b/fs/proc/proc_misc.c
@@ -63,7 +63,6 @@
63 * have a way to deal with that gracefully. Right now I used straightforward 63 * have a way to deal with that gracefully. Right now I used straightforward
64 * wrappers, but this needs further analysis wrt potential overflows. 64 * wrappers, but this needs further analysis wrt potential overflows.
65 */ 65 */
66extern int get_stram_list(char *);
67extern int get_exec_domain_list(char *); 66extern int get_exec_domain_list(char *);
68 67
69static int proc_calc_metrics(char *page, char **start, off_t off, 68static int proc_calc_metrics(char *page, char **start, off_t off,
@@ -197,15 +196,6 @@ static const struct file_operations proc_vmstat_file_operations = {
197 .release = seq_release, 196 .release = seq_release,
198}; 197};
199 198
200#ifdef CONFIG_STRAM_PROC
201static int stram_read_proc(char *page, char **start, off_t off,
202 int count, int *eof, void *data)
203{
204 int len = get_stram_list(page);
205 return proc_calc_metrics(page, start, off, count, eof, len);
206}
207#endif
208
209#ifdef CONFIG_BLOCK 199#ifdef CONFIG_BLOCK
210static int partitions_open(struct inode *inode, struct file *file) 200static int partitions_open(struct inode *inode, struct file *file)
211{ 201{
@@ -658,9 +648,6 @@ void __init proc_misc_init(void)
658 char *name; 648 char *name;
659 int (*read_proc)(char*,char**,off_t,int,int*,void*); 649 int (*read_proc)(char*,char**,off_t,int,int*,void*);
660 } *p, simple_ones[] = { 650 } *p, simple_ones[] = {
661#ifdef CONFIG_STRAM_PROC
662 {"stram", stram_read_proc},
663#endif
664 {"filesystems", filesystems_read_proc}, 651 {"filesystems", filesystems_read_proc},
665 {"cmdline", cmdline_read_proc}, 652 {"cmdline", cmdline_read_proc},
666 {"execdomains", execdomains_read_proc}, 653 {"execdomains", execdomains_read_proc},