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>
This commit is contained in:
committed by
David S. Miller
parent
9b739ba5e6
commit
6bb3ce25d0
@@ -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),
|
||||
};
|
||||
|
||||
|
@@ -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),
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user