summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorPavel Emelyanov2008-01-25 02:04:49 +0100
committerDavid S. Miller2008-01-28 23:56:28 +0100
commit36f0bebd9865dc7e327777fca34b75e65cbfd1a6 (patch)
tree394626193facaaa5dd86e284617c74fb6c8a0494 /include
parent[IPV4]: Use ctl paths to register net/ipv4/ table (diff)
downloadkernel-qcow2-linux-36f0bebd9865dc7e327777fca34b75e65cbfd1a6.tar.gz
kernel-qcow2-linux-36f0bebd9865dc7e327777fca34b75e65cbfd1a6.tar.xz
kernel-qcow2-linux-36f0bebd9865dc7e327777fca34b75e65cbfd1a6.zip
[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 'include')
-rw-r--r--include/linux/if_tr.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/include/linux/if_tr.h b/include/linux/if_tr.h
index 046e9d95ba9a..5bcec8b2c5e2 100644
--- a/include/linux/if_tr.h
+++ b/include/linux/if_tr.h
@@ -49,9 +49,6 @@ static inline struct trh_hdr *tr_hdr(const struct sk_buff *skb)
{
return (struct trh_hdr *)skb_mac_header(skb);
}
-#ifdef CONFIG_SYSCTL
-extern struct ctl_table tr_table[];
-#endif
#endif
/* This is an Token-Ring LLC structure */