From mboxrd@z Thu Jan 1 00:00:00 1970 From: Cong Wang Subject: [Patch net-next] ipv6: remove duplicated declaration of ip6_fragment() Date: Wed, 23 Jan 2013 11:22:07 +0800 Message-ID: <1358911327-12122-1-git-send-email-amwang@redhat.com> Cc: YOSHIFUJI Hideaki , "David S. Miller" , Cong Wang To: netdev@vger.kernel.org Return-path: Received: from mx1.redhat.com ([209.132.183.28]:32415 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752145Ab3AWDWU (ORCPT ); Tue, 22 Jan 2013 22:22:20 -0500 Sender: netdev-owner@vger.kernel.org List-ID: From: Cong Wang 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 Cc: David S. Miller Signed-off-by: Cong Wang --- diff --git a/net/ipv6/ip6_output.c b/net/ipv6/ip6_output.c index 7eee94c..7dea45a 100644 --- a/net/ipv6/ip6_output.c +++ b/net/ipv6/ip6_output.c @@ -56,8 +56,6 @@ #include #include -int ip6_fragment(struct sk_buff *skb, int (*output)(struct sk_buff *)); - int __ip6_local_out(struct sk_buff *skb) { int len;