ipv6: remove duplicated declaration of ip6_fragment()
authorCong Wang <amwang@redhat.com>
Tue, 22 Jan 2013 17:22:07 +0000 (17:22 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 23 Jan 2013 04:18:59 +0000 (23:18 -0500)
It is declared in:
include/net/ip6_route.h:187:int ip6_fragment(struct sk_buff *skb, int (*output)(struct sk_buff *));

and net/ip6_route.h is already included.

Cc: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
Cc: David S. Miller <davem@davemloft.net>
Signed-off-by: Cong Wang <amwang@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/ip6_output.c

index 7eee94c27f8d63eeb7d7e72b5112decde13009df..7dea45af66d3497e78805d7cb2be5badf74c06f1 100644 (file)
@@ -56,8 +56,6 @@
 #include <net/checksum.h>
 #include <linux/mroute6.h>
 
-int ip6_fragment(struct sk_buff *skb, int (*output)(struct sk_buff *));
-
 int __ip6_local_out(struct sk_buff *skb)
 {
        int len;