diff options
author | Alexey Dobriyan <adobriyan@gmail.com> | 2008-11-11 20:25:22 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-11-11 20:25:22 -0500 |
commit | 6bb3ce25d05f2990c8a19adaf427531430267c1f (patch) | |
tree | 38c19e4776b36163b9d100258139d58287475f6b /net/ipv4/route.c | |
parent | 9b739ba5e66c96938fbc07a4dbd9da5b81eac56f (diff) |
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/ipv4/route.c')
-rw-r--r-- | net/ipv4/route.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/net/ipv4/route.c b/net/ipv4/route.c index 0dc0c3826763..4e6959c29819 100644 --- a/net/ipv4/route.c +++ b/net/ipv4/route.c | |||
@@ -160,7 +160,6 @@ static struct dst_ops ipv4_dst_ops = { | |||
160 | .link_failure = ipv4_link_failure, | 160 | .link_failure = ipv4_link_failure, |
161 | .update_pmtu = ip_rt_update_pmtu, | 161 | .update_pmtu = ip_rt_update_pmtu, |
162 | .local_out = __ip_local_out, | 162 | .local_out = __ip_local_out, |
163 | .entry_size = sizeof(struct rtable), | ||
164 | .entries = ATOMIC_INIT(0), | 163 | .entries = ATOMIC_INIT(0), |
165 | }; | 164 | }; |
166 | 165 | ||
@@ -2701,7 +2700,6 @@ static struct dst_ops ipv4_dst_blackhole_ops = { | |||
2701 | .destroy = ipv4_dst_destroy, | 2700 | .destroy = ipv4_dst_destroy, |
2702 | .check = ipv4_dst_check, | 2701 | .check = ipv4_dst_check, |
2703 | .update_pmtu = ipv4_rt_blackhole_update_pmtu, | 2702 | .update_pmtu = ipv4_rt_blackhole_update_pmtu, |
2704 | .entry_size = sizeof(struct rtable), | ||
2705 | .entries = ATOMIC_INIT(0), | 2703 | .entries = ATOMIC_INIT(0), |
2706 | }; | 2704 | }; |
2707 | 2705 | ||