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 4814b111d836..542527f6630f 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 | */ |
66 | extern int get_hardware_list(char *); | ||
67 | extern int get_stram_list(char *); | 66 | extern int get_stram_list(char *); |
68 | extern int get_exec_domain_list(char *); | 67 | extern int get_exec_domain_list(char *); |
69 | 68 | ||
@@ -198,15 +197,6 @@ static const struct file_operations proc_vmstat_file_operations = { | |||
198 | .release = seq_release, | 197 | .release = seq_release, |
199 | }; | 198 | }; |
200 | 199 | ||
201 | #ifdef CONFIG_PROC_HARDWARE | ||
202 | static int hardware_read_proc(char *page, char **start, off_t off, | ||
203 | int count, int *eof, void *data) | ||
204 | { | ||
205 | int len = get_hardware_list(page); | ||
206 | return proc_calc_metrics(page, start, off, count, eof, len); | ||
207 | } | ||
208 | #endif | ||
209 | |||
210 | #ifdef CONFIG_STRAM_PROC | 200 | #ifdef CONFIG_STRAM_PROC |
211 | static int stram_read_proc(char *page, char **start, off_t off, | 201 | static int stram_read_proc(char *page, char **start, off_t off, |
212 | int count, int *eof, void *data) | 202 | int count, int *eof, void *data) |
@@ -668,9 +658,6 @@ void __init proc_misc_init(void) | |||
668 | char *name; | 658 | char *name; |
669 | int (*read_proc)(char*,char**,off_t,int,int*,void*); | 659 | int (*read_proc)(char*,char**,off_t,int,int*,void*); |
670 | } *p, simple_ones[] = { | 660 | } *p, simple_ones[] = { |
671 | #ifdef CONFIG_PROC_HARDWARE | ||
672 | {"hardware", hardware_read_proc}, | ||
673 | #endif | ||
674 | #ifdef CONFIG_STRAM_PROC | 661 | #ifdef CONFIG_STRAM_PROC |
675 | {"stram", stram_read_proc}, | 662 | {"stram", stram_read_proc}, |
676 | #endif | 663 | #endif |