aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/sysctl.c
diff options
context:
space:
mode:
authorStephen Hemminger <shemminger@osdl.org>2006-06-25 08:48:31 -0400
committerLinus Torvalds <torvalds@g5.osdl.org>2006-06-25 13:01:15 -0400
commiteab03ac7bd3e0da99eb9dc068772a85a5e3f3577 (patch)
tree042447058f59b2e485a24a5175a6d7ab83baa9e1 /kernel/sysctl.c
parent8ad2914d9cc55be651ef3bd676981a72c9001a47 (diff)
[PATCH] Get rid of /proc/sys/proc
The table is empty, why does it still exist? Signed-off-by: Stephen Hemminger <shemminger@osdl.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'kernel/sysctl.c')
-rw-r--r--kernel/sysctl.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/kernel/sysctl.c b/kernel/sysctl.c
index eb8bd214e7d7..2c0e65819448 100644
--- a/kernel/sysctl.c
+++ b/kernel/sysctl.c
@@ -143,7 +143,6 @@ static struct ctl_table_header root_table_header =
143 143
144static ctl_table kern_table[]; 144static ctl_table kern_table[];
145static ctl_table vm_table[]; 145static ctl_table vm_table[];
146static ctl_table proc_table[];
147static ctl_table fs_table[]; 146static ctl_table fs_table[];
148static ctl_table debug_table[]; 147static ctl_table debug_table[];
149static ctl_table dev_table[]; 148static ctl_table dev_table[];
@@ -203,12 +202,6 @@ static ctl_table root_table[] = {
203 }, 202 },
204#endif 203#endif
205 { 204 {
206 .ctl_name = CTL_PROC,
207 .procname = "proc",
208 .mode = 0555,
209 .child = proc_table,
210 },
211 {
212 .ctl_name = CTL_FS, 205 .ctl_name = CTL_FS,
213 .procname = "fs", 206 .procname = "fs",
214 .mode = 0555, 207 .mode = 0555,
@@ -927,10 +920,6 @@ static ctl_table vm_table[] = {
927 { .ctl_name = 0 } 920 { .ctl_name = 0 }
928}; 921};
929 922
930static ctl_table proc_table[] = {
931 { .ctl_name = 0 }
932};
933
934static ctl_table fs_table[] = { 923static ctl_table fs_table[] = {
935 { 924 {
936 .ctl_name = FS_NRINODE, 925 .ctl_name = FS_NRINODE,