Skip to content

Commit

Permalink
ipv4: remove ip_mc_drop_socket() declaration from af_inet.c.
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Rami Rosen authored and David S. Miller committed Jun 4, 2009
1 parent 278b251 commit 2307f86
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion net/ipv4/af_inet.c
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 2307f86

Please sign in to comment.