]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
net: remove struct dst_entry::entry_size
authorAlexey Dobriyan <adobriyan@gmail.com>
Wed, 12 Nov 2008 01:25:22 +0000 (17:25 -0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 12 Nov 2008 01:25:22 +0000 (17:25 -0800)
Unused after kmem_cache_zalloc() conversion.

Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/dst.h
net/decnet/dn_route.c
net/ipv4/route.c
net/ipv4/xfrm4_policy.c
net/ipv6/route.c
net/ipv6/xfrm6_policy.c

index f96c4ba4dd328d59fdd1cc7be70fac7b85931f73..65a60fab2f823720edfa01a5cb7e8221b5d06a72 100644 (file)
@@ -104,7 +104,6 @@ struct dst_ops
        void                    (*link_failure)(struct sk_buff *);
        void                    (*update_pmtu)(struct dst_entry *dst, u32 mtu);
        int                     (*local_out)(struct sk_buff *skb);
-       int                     entry_size;
 
        atomic_t                entries;
        struct kmem_cache               *kmem_cachep;
index 821bd1cdec04d23125cbe98ca893a329bf8d844d..768df000523b8dca25122e8eb8c4a98c09e9ec30 100644 (file)
@@ -131,7 +131,6 @@ static struct dst_ops dn_dst_ops = {
        .negative_advice =      dn_dst_negative_advice,
        .link_failure =         dn_dst_link_failure,
        .update_pmtu =          dn_dst_update_pmtu,
-       .entry_size =           sizeof(struct dn_route),
        .entries =              ATOMIC_INIT(0),
 };
 
index 0dc0c38267639bd1a524ef20a37b2c206891e93f..4e6959c298194b84e598a3bd6263ba85f32c883e 100644 (file)
@@ -160,7 +160,6 @@ static struct dst_ops ipv4_dst_ops = {
        .link_failure =         ipv4_link_failure,
        .update_pmtu =          ip_rt_update_pmtu,
        .local_out =            __ip_local_out,
-       .entry_size =           sizeof(struct rtable),
        .entries =              ATOMIC_INIT(0),
 };
 
@@ -2701,7 +2700,6 @@ static struct dst_ops ipv4_dst_blackhole_ops = {
        .destroy                =       ipv4_dst_destroy,
        .check                  =       ipv4_dst_check,
        .update_pmtu            =       ipv4_rt_blackhole_update_pmtu,
-       .entry_size             =       sizeof(struct rtable),
        .entries                =       ATOMIC_INIT(0),
 };
 
index f9a775b7e79657fdd6bb15fecbacdaaf70323395..84dbb5a03cc21ce864a67d01e677cac2d8c67c0f 100644 (file)
@@ -246,7 +246,6 @@ static struct dst_ops xfrm4_dst_ops = {
        .ifdown =               xfrm4_dst_ifdown,
        .local_out =            __ip_local_out,
        .gc_thresh =            1024,
-       .entry_size =           sizeof(struct xfrm_dst),
        .entries =              ATOMIC_INIT(0),
 };
 
index 4d40dc214b2d1c00a777b720cd89fe49aaf0e19b..9da1ece466a2461a1900bca35740c76ea741f745 100644 (file)
@@ -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),
 };
 
index 604bc0a96c05d50706d4469d776c561706d046de..3b67ce7786ecba68e0c46168aa1510e78abe56ae 100644 (file)
@@ -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),
 };