diff options
Diffstat (limited to 'net/decnet/dn_route.c')
-rw-r--r-- | net/decnet/dn_route.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/net/decnet/dn_route.c b/net/decnet/dn_route.c index 26719779ad8e..85a3604c87c8 100644 --- a/net/decnet/dn_route.c +++ b/net/decnet/dn_route.c | |||
@@ -184,12 +184,6 @@ static __inline__ unsigned int dn_hash(__le16 src, __le16 dst) | |||
184 | return dn_rt_hash_mask & (unsigned int)tmp; | 184 | return dn_rt_hash_mask & (unsigned int)tmp; |
185 | } | 185 | } |
186 | 186 | ||
187 | static inline void dst_rcu_free(struct rcu_head *head) | ||
188 | { | ||
189 | struct dst_entry *dst = container_of(head, struct dst_entry, rcu_head); | ||
190 | dst_free(dst); | ||
191 | } | ||
192 | |||
193 | static inline void dnrt_free(struct dn_route *rt) | 187 | static inline void dnrt_free(struct dn_route *rt) |
194 | { | 188 | { |
195 | call_rcu_bh(&rt->dst.rcu_head, dst_rcu_free); | 189 | call_rcu_bh(&rt->dst.rcu_head, dst_rcu_free); |