aboutsummaryrefslogtreecommitdiffstats
path: root/net/sysctl_net.c
diff options
context:
space:
mode:
authorPavel Emelyanov <xemul@openvz.org>2008-01-24 20:04:49 -0500
committerDavid S. Miller <davem@davemloft.net>2008-01-28 17:56:28 -0500
commit36f0bebd9865dc7e327777fca34b75e65cbfd1a6 (patch)
tree394626193facaaa5dd86e284617c74fb6c8a0494 /net/sysctl_net.c
parent3e37c3f9978839d91188e4ca0cc662a7245f28e4 (diff)
[TR]: Use ctl paths to register net/token-ring/ table
The same thing for token-ring - use ctl paths and get rid of external references on the tr_table. Unfortunately, I couldn't split this patch into cleanup and use-the-paths parts. As a lame excuse I can say, that the cleanup is just moving the tr_table from one file to another - closet to a single variable, that this ctl table tunes. Since the source file becomes empty after the move, I remove it. 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 a4f0ed8d0e79..16ad14b5d572 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_TR
35 {
36 .ctl_name = NET_TR,
37 .procname = "token-ring",
38 .mode = 0555,
39 .child = tr_table,
40 },
41#endif
42 { 0 }, 34 { 0 },
43}; 35};
44 36