diff options
author | Stephen Hemminger <shemminger@osdl.org> | 2006-06-25 05:48:31 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-06-25 10:01:15 -0700 |
commit | eab03ac7bd3e0da99eb9dc068772a85a5e3f3577 (patch) | |
tree | 042447058f59b2e485a24a5175a6d7ab83baa9e1 | |
parent | 8ad2914d9cc55be651ef3bd676981a72c9001a47 (diff) | |
download | op-kernel-dev-eab03ac7bd3e0da99eb9dc068772a85a5e3f3577.zip op-kernel-dev-eab03ac7bd3e0da99eb9dc068772a85a5e3f3577.tar.gz |
[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>
-rw-r--r-- | include/linux/sysctl.h | 4 | ||||
-rw-r--r-- | kernel/sysctl.c | 11 |
2 files changed, 1 insertions, 14 deletions
diff --git a/include/linux/sysctl.h b/include/linux/sysctl.h index c713202..6a60770 100644 --- a/include/linux/sysctl.h +++ b/include/linux/sysctl.h @@ -55,7 +55,7 @@ enum CTL_KERN=1, /* General kernel info and control */ CTL_VM=2, /* VM management */ CTL_NET=3, /* Networking */ - CTL_PROC=4, /* Process info */ + /* was CTL_PROC */ CTL_FS=5, /* Filesystems */ CTL_DEBUG=6, /* Debugging */ CTL_DEV=7, /* Devices */ @@ -767,8 +767,6 @@ enum { NET_BRIDGE_NF_FILTER_VLAN_TAGGED = 4, }; -/* CTL_PROC names: */ - /* CTL_FS names: */ enum { diff --git a/kernel/sysctl.c b/kernel/sysctl.c index eb8bd21..2c0e658 100644 --- a/kernel/sysctl.c +++ b/kernel/sysctl.c @@ -143,7 +143,6 @@ static struct ctl_table_header root_table_header = static ctl_table kern_table[]; static ctl_table vm_table[]; -static ctl_table proc_table[]; static ctl_table fs_table[]; static ctl_table debug_table[]; static ctl_table dev_table[]; @@ -203,12 +202,6 @@ static ctl_table root_table[] = { }, #endif { - .ctl_name = CTL_PROC, - .procname = "proc", - .mode = 0555, - .child = proc_table, - }, - { .ctl_name = CTL_FS, .procname = "fs", .mode = 0555, @@ -927,10 +920,6 @@ static ctl_table vm_table[] = { { .ctl_name = 0 } }; -static ctl_table proc_table[] = { - { .ctl_name = 0 } -}; - static ctl_table fs_table[] = { { .ctl_name = FS_NRINODE, |