aboutsummaryrefslogtreecommitdiffstats
path: root/include/net
diff options
context:
space:
mode:
authorPavel Emelyanov <xemul@openvz.org>2007-10-17 22:47:56 -0400
committerDavid S. Miller <davem@davemloft.net>2007-10-17 22:47:56 -0400
commit48d60056387c37a17a46feda48613587a90535e5 (patch)
tree8e7e481c6cf8b28c124c1e5902092d2bd53dbf7b /include/net
parentabd6523d15f40bfee14652619a31a7f65f77f581 (diff)
[INET]: Remove no longer needed ->equal callback
Since this callback is used to check for conflicts in hashtable when inserting a newly created frag queue, we can do the same by checking for matching the queue with the argument, used to create one. Signed-off-by: Pavel Emelyanov <xemul@openvz.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net')
-rw-r--r--include/net/inet_frag.h2
-rw-r--r--include/net/ipv6.h1
2 files changed, 0 insertions, 3 deletions
diff --git a/include/net/inet_frag.h b/include/net/inet_frag.h
index 64299266a868..954def408975 100644
--- a/include/net/inet_frag.h
+++ b/include/net/inet_frag.h
@@ -43,8 +43,6 @@ struct inet_frags {
43 void *arg); 43 void *arg);
44 void (*destructor)(struct inet_frag_queue *); 44 void (*destructor)(struct inet_frag_queue *);
45 void (*skb_free)(struct sk_buff *); 45 void (*skb_free)(struct sk_buff *);
46 int (*equal)(struct inet_frag_queue *q1,
47 struct inet_frag_queue *q2);
48 int (*match)(struct inet_frag_queue *q, 46 int (*match)(struct inet_frag_queue *q,
49 void *arg); 47 void *arg);
50 void (*frag_expire)(unsigned long data); 48 void (*frag_expire)(unsigned long data);
diff --git a/include/net/ipv6.h b/include/net/ipv6.h
index 005853a33ef6..ae328b680ff2 100644
--- a/include/net/ipv6.h
+++ b/include/net/ipv6.h
@@ -378,7 +378,6 @@ static inline int ipv6_prefix_equal(const struct in6_addr *a1,
378} 378}
379 379
380struct inet_frag_queue; 380struct inet_frag_queue;
381int ip6_frag_equal(struct inet_frag_queue *q1, struct inet_frag_queue *q2);
382 381
383struct ip6_create_arg { 382struct ip6_create_arg {
384 __be32 id; 383 __be32 id;