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 d873621785884507a270ed7e4e7d6345935d0c48..566ea6c4321dc7023aae885693d34b70ae2fc324 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.