From: Andy Zhou Date: Tue, 19 May 2015 19:41:47 +0000 (-0700) Subject: ip: remove unused function prototype X-Git-Tag: v4.2-rc1~130^2~253 X-Git-Url: http://git.cascardo.info/?a=commitdiff_plain;h=06b2c61c92a9942769ee8da22d3ce8b8b935c038;p=cascardo%2Flinux.git ip: remove unused function prototype ip_do_nat() function was removed prior to kernel 3.4. Remove the unnecessary function prototype as well. Reported-by: Florian Westphal Signed-off-by: Andy Zhou Signed-off-by: David S. Miller --- diff --git a/include/net/ip.h b/include/net/ip.h index cd7a6a458bb6..7921a36b805c 100644 --- a/include/net/ip.h +++ b/include/net/ip.h @@ -110,7 +110,6 @@ int ip_output(struct sock *sk, struct sk_buff *skb); int ip_mc_output(struct sock *sk, struct sk_buff *skb); int ip_do_fragment(struct sock *sk, struct sk_buff *skb, int (*output)(struct sock *, struct sk_buff *)); -int ip_do_nat(struct sk_buff *skb); void ip_send_check(struct iphdr *ip); int __ip_local_out(struct sk_buff *skb); int ip_local_out_sk(struct sock *sk, struct sk_buff *skb);