diff options
Diffstat (limited to 'net/ipv6/reassembly.c')
-rw-r--r-- | net/ipv6/reassembly.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/net/ipv6/reassembly.c b/net/ipv6/reassembly.c index 01766bc75b6a..76c88a93b9b5 100644 --- a/net/ipv6/reassembly.c +++ b/net/ipv6/reassembly.c | |||
@@ -175,11 +175,6 @@ void ip6_frag_init(struct inet_frag_queue *q, void *a) | |||
175 | } | 175 | } |
176 | EXPORT_SYMBOL(ip6_frag_init); | 176 | EXPORT_SYMBOL(ip6_frag_init); |
177 | 177 | ||
178 | static void ip6_frag_free(struct inet_frag_queue *fq) | ||
179 | { | ||
180 | kfree(container_of(fq, struct frag_queue, q)); | ||
181 | } | ||
182 | |||
183 | /* Destruction primitives. */ | 178 | /* Destruction primitives. */ |
184 | 179 | ||
185 | static __inline__ void fq_put(struct frag_queue *fq) | 180 | static __inline__ void fq_put(struct frag_queue *fq) |
@@ -645,7 +640,7 @@ void __init ipv6_frag_init(void) | |||
645 | ip6_frags.ctl = &ip6_frags_ctl; | 640 | ip6_frags.ctl = &ip6_frags_ctl; |
646 | ip6_frags.hashfn = ip6_hashfn; | 641 | ip6_frags.hashfn = ip6_hashfn; |
647 | ip6_frags.constructor = ip6_frag_init; | 642 | ip6_frags.constructor = ip6_frag_init; |
648 | ip6_frags.destructor = ip6_frag_free; | 643 | ip6_frags.destructor = NULL; |
649 | ip6_frags.skb_free = NULL; | 644 | ip6_frags.skb_free = NULL; |
650 | ip6_frags.qsize = sizeof(struct frag_queue); | 645 | ip6_frags.qsize = sizeof(struct frag_queue); |
651 | ip6_frags.match = ip6_frag_match; | 646 | ip6_frags.match = ip6_frag_match; |