Эх сурвалжийг харах

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

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>
Rami Rosen 16 жил өмнө
parent
commit
2307f866f5
1 өөрчлөгдсөн 0 нэмэгдсэн , 1 устгасан
  1. 0 1
      net/ipv4/af_inet.c

+ 0 - 1
net/ipv4/af_inet.c

@@ -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.