Skip to contentSkip to conversation

ipv4: remove ip_mc_drop_socket() declaration from af_inet.c.

PATCH Applied Rami Rosen 2 participants 2 messages Jun 3, 2009 – Jun 4, 2009

Subsystems (2)
lore
Share & tools
lore

Rami Rosen

author
#0 lore raw

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

net/ipv4/af_inet.c +0 -1
index d873621..566ea6c 100644
@@ -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.
maintainer Applied
#1 lore raw

From: Rami Rosen <[email protected]>
Date: Wed, 3 Jun 2009 23:47:04 +0300

Quoted 5 lines

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.

Applied, thanks!