aboutsummaryrefslogtreecommitdiffstats
path: root/net/sysctl_net.c
diff options
context:
space:
mode:
authorPavel Emelyanov <xemul@openvz.org>2007-12-05 04:41:26 -0500
committerDavid S. Miller <davem@davemloft.net>2008-01-28 17:56:27 -0500
commit3e37c3f9978839d91188e4ca0cc662a7245f28e4 (patch)
tree56574ce30de6f52e2d476b1a3a9993a380edcec6 /net/sysctl_net.c
parent9ba639797606acbcd97be886f41fbce163914e7b (diff)
[IPV4]: Use ctl paths to register net/ipv4/ table
This is the same as I did for the net/core/ table in the second patch in his series: use the paths and isolate the whole table in the .c file. Signed-off-by: Pavel Emelyanov <xemul@openvz.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/sysctl_net.c')
-rw-r--r--net/sysctl_net.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/net/sysctl_net.c b/net/sysctl_net.c
index 747fc55b28f1..a4f0ed8d0e79 100644
--- a/net/sysctl_net.c
+++ b/net/sysctl_net.c
@@ -31,14 +31,6 @@
31#endif 31#endif
32 32
33struct ctl_table net_table[] = { 33struct ctl_table net_table[] = {
34#ifdef CONFIG_INET
35 {
36 .ctl_name = NET_IPV4,
37 .procname = "ipv4",
38 .mode = 0555,
39 .child = ipv4_table
40 },
41#endif
42#ifdef CONFIG_TR 34#ifdef CONFIG_TR
43 { 35 {
44 .ctl_name = NET_TR, 36 .ctl_name = NET_TR,