From: Rami Rosen <ramirose@gmail.com> Date: Thu, 4 Jun 2009 04:43:26 +0000 (-0700) Subject: ipv4: remove ip_mc_drop_socket() declaration from af_inet.c. X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=2307f866f542f3397d24f78d0efd74f4ab214a96;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.git ipv4: remove ip_mc_drop_socket() declaration from af_inet.c. ip_mc_drop_socket() method is declared in linux/igmp.h, which is included anyhow in af_inet.c. So there is no need for this declaration. This patch removes it from af_inet.c. Signed-off-by: Rami Rosen <ramirose@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net> --- diff --git a/net/ipv4/af_inet.c b/net/ipv4/af_inet.c index d87362178588..566ea6c4321d 100644 --- a/net/ipv4/af_inet.c +++ b/net/ipv4/af_inet.c @@ -116,7 +116,6 @@ #include <linux/mroute.h> #endif -extern void ip_mc_drop_socket(struct sock *sk); /* The inetsw table contains everything that inet_create needs to * build a new socket.