diff options
author | Alexey Dobriyan <adobriyan@gmail.com> | 2008-11-11 17:25:22 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-11-11 17:25:22 -0800 |
commit | 6bb3ce25d05f2990c8a19adaf427531430267c1f (patch) | |
tree | 38c19e4776b36163b9d100258139d58287475f6b /net/ipv6 | |
parent | 9b739ba5e66c96938fbc07a4dbd9da5b81eac56f (diff) | |
download | linux-3.10-6bb3ce25d05f2990c8a19adaf427531430267c1f.tar.gz linux-3.10-6bb3ce25d05f2990c8a19adaf427531430267c1f.tar.bz2 linux-3.10-6bb3ce25d05f2990c8a19adaf427531430267c1f.zip |
net: remove struct dst_entry::entry_size
Unused after kmem_cache_zalloc() conversion.
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv6')
-rw-r--r-- | net/ipv6/route.c | 2 | ||||
-rw-r--r-- | net/ipv6/xfrm6_policy.c | 1 |
2 files changed, 0 insertions, 3 deletions
diff --git a/net/ipv6/route.c b/net/ipv6/route.c index 4d40dc214b2..9da1ece466a 100644 --- a/net/ipv6/route.c +++ b/net/ipv6/route.c @@ -108,7 +108,6 @@ static struct dst_ops ip6_dst_ops_template = { .link_failure = ip6_link_failure, .update_pmtu = ip6_rt_update_pmtu, .local_out = __ip6_local_out, - .entry_size = sizeof(struct rt6_info), .entries = ATOMIC_INIT(0), }; @@ -122,7 +121,6 @@ static struct dst_ops ip6_dst_blackhole_ops = { .destroy = ip6_dst_destroy, .check = ip6_dst_check, .update_pmtu = ip6_rt_blackhole_update_pmtu, - .entry_size = sizeof(struct rt6_info), .entries = ATOMIC_INIT(0), }; diff --git a/net/ipv6/xfrm6_policy.c b/net/ipv6/xfrm6_policy.c index 604bc0a96c0..3b67ce7786e 100644 --- a/net/ipv6/xfrm6_policy.c +++ b/net/ipv6/xfrm6_policy.c @@ -277,7 +277,6 @@ static struct dst_ops xfrm6_dst_ops = { .ifdown = xfrm6_dst_ifdown, .local_out = __ip6_local_out, .gc_thresh = 1024, - .entry_size = sizeof(struct xfrm_dst), .entries = ATOMIC_INIT(0), }; |