netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/2] ipv4 : igmp : Delete useless parameter in ip_mc_add1_src()
@ 2011-11-30 16:21 Jun Zhao
  2011-11-30 16:21 ` [PATCH 2/2] ipv6 : mcast : Delete useless parameter in ip6_mc_add1_src() Jun Zhao
  2011-12-01  4:17 ` [PATCH 1/2] ipv4 : igmp : Delete useless parameter in ip_mc_add1_src() David Miller
  0 siblings, 2 replies; 4+ messages in thread
From: Jun Zhao @ 2011-11-30 16:21 UTC (permalink / raw)
  To: davem; +Cc: netdev, Jun Zhao

Need not to used 'delta' flag when add single-source to interface
filter source list.

Signed-off-by: Jun Zhao <mypopydev@gmail.com>
---
 net/ipv4/igmp.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/net/ipv4/igmp.c b/net/ipv4/igmp.c
index 22c10b5..e6ed796 100644
--- a/net/ipv4/igmp.c
+++ b/net/ipv4/igmp.c
@@ -1574,7 +1574,7 @@ out_unlock:
  * Add multicast single-source filter to the interface list
  */
 static int ip_mc_add1_src(struct ip_mc_list *pmc, int sfmode,
-	__be32 *psfsrc, int delta)
+	__be32 *psfsrc)
 {
 	struct ip_sf_list *psf, *psf_prev;
 
@@ -1709,7 +1709,7 @@ static int ip_mc_add_src(struct in_device *in_dev, __be32 *pmca, int sfmode,
 		pmc->sfcount[sfmode]++;
 	err = 0;
 	for (i=0; i<sfcount; i++) {
-		err = ip_mc_add1_src(pmc, sfmode, &psfsrc[i], delta);
+		err = ip_mc_add1_src(pmc, sfmode, &psfsrc[i]);
 		if (err)
 			break;
 	}
-- 
1.7.2.5

^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2011-12-01  4:17 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-11-30 16:21 [PATCH 1/2] ipv4 : igmp : Delete useless parameter in ip_mc_add1_src() Jun Zhao
2011-11-30 16:21 ` [PATCH 2/2] ipv6 : mcast : Delete useless parameter in ip6_mc_add1_src() Jun Zhao
2011-12-01  4:17   ` David Miller
2011-12-01  4:17 ` [PATCH 1/2] ipv4 : igmp : Delete useless parameter in ip_mc_add1_src() David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).