ipv4: remove ip_mc_drop_socket() declaration from af_inet.c.
authorRami Rosen <ramirose@gmail.com>
Thu, 4 Jun 2009 04:43:26 +0000 (21:43 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 4 Jun 2009 04:43:26 +0000 (21:43 -0700)
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>
net/ipv4/af_inet.c

index d873621..566ea6c 100644 (file)
 #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.