diff options
author | Shan Wei <shanwei@cn.fujitsu.com> | 2010-11-24 16:47:56 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-11-28 13:47:17 -0500 |
commit | d3c15cab213becc49a6f2ad7f48a59513a5f17dd (patch) | |
tree | 40448b57254245de3849d94265affb82a05c3b58 /net/ipv6 | |
parent | a40c9f88b5e3da500ddab9440e5ddac170c12281 (diff) |
ipv6: kill two unused macro definition
1. IPV6_TLV_TEL_DST_SIZE
This has not been using for several years since created.
2. RT6_INFO_LEN
commit 33120b30 kill all RT6_INFO_LEN's references, but only this definition remained.
commit 33120b30cc3b8665204d4fcde7288638b0dd04d5
Author: Alexey Dobriyan <adobriyan@sw.ru>
Date: Tue Nov 6 05:27:11 2007 -0800
[IPV6]: Convert /proc/net/ipv6_route to seq_file interface
Signed-off-by: Shan Wei <shanwei@cn.fujitsu.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv6')
-rw-r--r-- | net/ipv6/ip6_tunnel.c | 2 | ||||
-rw-r--r-- | net/ipv6/route.c | 2 |
2 files changed, 0 insertions, 4 deletions
diff --git a/net/ipv6/ip6_tunnel.c b/net/ipv6/ip6_tunnel.c index 2a59610c2a58..b1155554bb18 100644 --- a/net/ipv6/ip6_tunnel.c +++ b/net/ipv6/ip6_tunnel.c | |||
@@ -58,8 +58,6 @@ MODULE_AUTHOR("Ville Nuorvala"); | |||
58 | MODULE_DESCRIPTION("IPv6 tunneling device"); | 58 | MODULE_DESCRIPTION("IPv6 tunneling device"); |
59 | MODULE_LICENSE("GPL"); | 59 | MODULE_LICENSE("GPL"); |
60 | 60 | ||
61 | #define IPV6_TLV_TEL_DST_SIZE 8 | ||
62 | |||
63 | #ifdef IP6_TNL_DEBUG | 61 | #ifdef IP6_TNL_DEBUG |
64 | #define IP6_TNL_TRACE(x...) printk(KERN_DEBUG "%s:" x "\n", __func__) | 62 | #define IP6_TNL_TRACE(x...) printk(KERN_DEBUG "%s:" x "\n", __func__) |
65 | #else | 63 | #else |
diff --git a/net/ipv6/route.c b/net/ipv6/route.c index c346ccf66ae1..a0c4ad109c63 100644 --- a/net/ipv6/route.c +++ b/net/ipv6/route.c | |||
@@ -2453,8 +2453,6 @@ static int ip6_route_dev_notify(struct notifier_block *this, | |||
2453 | 2453 | ||
2454 | #ifdef CONFIG_PROC_FS | 2454 | #ifdef CONFIG_PROC_FS |
2455 | 2455 | ||
2456 | #define RT6_INFO_LEN (32 + 4 + 32 + 4 + 32 + 40 + 5 + 1) | ||
2457 | |||
2458 | struct rt6_proc_arg | 2456 | struct rt6_proc_arg |
2459 | { | 2457 | { |
2460 | char *buffer; | 2458 | char *buffer; |