* [PATCH net-next-2.6 ] ipv4: remove ip_mc_drop_socket() declaration from af_inet.c.
@ 2009-06-03 20:47 Rami Rosen
2009-06-04 4:43 ` David Miller
0 siblings, 1 reply; 2+ messages in thread
From: Rami Rosen @ 2009-06-03 20:47 UTC (permalink / raw)
To: davem; +Cc: netdev
[-- Attachment #1: Type: text/plain, Size: 250 bytes --]
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 <ramirose@gmail.com>
[-- Attachment #2: patch.txt --]
[-- Type: text/plain, Size: 332 bytes --]
diff --git a/net/ipv4/af_inet.c b/net/ipv4/af_inet.c
index d873621..566ea6c 100644
--- a/net/ipv4/af_inet.c
+++ b/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.
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH net-next-2.6 ] ipv4: remove ip_mc_drop_socket() declaration from af_inet.c.
2009-06-03 20:47 [PATCH net-next-2.6 ] ipv4: remove ip_mc_drop_socket() declaration from af_inet.c Rami Rosen
@ 2009-06-04 4:43 ` David Miller
0 siblings, 0 replies; 2+ messages in thread
From: David Miller @ 2009-06-04 4:43 UTC (permalink / raw)
To: ramirose; +Cc: netdev
From: Rami Rosen <ramirose@gmail.com>
Date: Wed, 3 Jun 2009 23:47:04 +0300
> 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>
Applied, thanks!
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-06-04 4:43 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-06-03 20:47 [PATCH net-next-2.6 ] ipv4: remove ip_mc_drop_socket() declaration from af_inet.c Rami Rosen
2009-06-04 4:43 ` David Miller
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.