ipv4: remove ip_mc_drop_socket() declaration from af_inet.c.
Subsystems (2)
PATCH 1/1 ipv4: remove ip_mc_drop_socket() declaration from af_inet.c.
Hi,
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.
Regards,
Rami Rosen
Signed-off-by Rami Rosen <[email protected]>
net/ipv4/af_inet.c +0 -1
@@ -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.
From: Rami Rosen <[email protected]>
Date: Wed, 3 Jun 2009 23:47:04 +0300
Quoted 5 lines
ip_mc_drop_socket()method is declared inlinux/igmp.h, which is included anyhow inaf_inet.c. So there is no need for this declaration. This patch removes it fromaf_inet.c.Signed-off-by Rami Rosen <[email protected]>
Applied, thanks!