summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCong Wang <amwang@redhat.com>2013-01-22 18:22:07 +0100
committerDavid S. Miller <davem@davemloft.net>2013-01-23 05:18:59 +0100
commit9647bb80a501a34f06132a04e240156950570005 (patch)
tree7bf39794674b6017ae297c3e7cb08dede03746a6
parentMerge branch 'legacy-isa-delete' of git://git.kernel.org/pub/scm/linux/kernel... (diff)
downloadlinux-9647bb80a501a34f06132a04e240156950570005.tar.xz
linux-9647bb80a501a34f06132a04e240156950570005.zip
ipv6: remove duplicated declaration of ip6_fragment()
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>
-rw-r--r--net/ipv6/ip6_output.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/net/ipv6/ip6_output.c b/net/ipv6/ip6_output.c
index 7eee94c27f8d..7dea45af66d3 100644
--- a/net/ipv6/ip6_output.c
+++ b/net/ipv6/ip6_output.c
@@ -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;