diff options
author | Jun Zhao <mypopydev@gmail.com> | 2011-11-30 01:21:04 -0500 |
---|---|---|
committer | David S. Miller <davem@drr.davemloft.net> | 2011-11-30 23:10:01 -0500 |
commit | 5eb81e89164a5cea31dbc2df37a33588d4466352 (patch) | |
tree | 04642b5d7a8dd708588972d721e5c002536fb42e /net/ipv4/igmp.c | |
parent | 32092ecf0644e91070f9eff4f6e1edda8f90aecc (diff) |
ipv4 : igmp : Delete useless parameter in ip_mc_add1_src()
Need not to used 'delta' flag when add single-source to interface
filter source list.
Signed-off-by: Jun Zhao <mypopydev@gmail.com>
Signed-off-by: David S. Miller <davem@drr.davemloft.net>
Diffstat (limited to 'net/ipv4/igmp.c')
-rw-r--r-- | 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 313ad93d2f7b..fa057d105bef 100644 --- a/net/ipv4/igmp.c +++ b/net/ipv4/igmp.c | |||
@@ -1579,7 +1579,7 @@ out_unlock: | |||
1579 | * Add multicast single-source filter to the interface list | 1579 | * Add multicast single-source filter to the interface list |
1580 | */ | 1580 | */ |
1581 | static int ip_mc_add1_src(struct ip_mc_list *pmc, int sfmode, | 1581 | static int ip_mc_add1_src(struct ip_mc_list *pmc, int sfmode, |
1582 | __be32 *psfsrc, int delta) | 1582 | __be32 *psfsrc) |
1583 | { | 1583 | { |
1584 | struct ip_sf_list *psf, *psf_prev; | 1584 | struct ip_sf_list *psf, *psf_prev; |
1585 | 1585 | ||
@@ -1714,7 +1714,7 @@ static int ip_mc_add_src(struct in_device *in_dev, __be32 *pmca, int sfmode, | |||
1714 | pmc->sfcount[sfmode]++; | 1714 | pmc->sfcount[sfmode]++; |
1715 | err = 0; | 1715 | err = 0; |
1716 | for (i=0; i<sfcount; i++) { | 1716 | for (i=0; i<sfcount; i++) { |
1717 | err = ip_mc_add1_src(pmc, sfmode, &psfsrc[i], delta); | 1717 | err = ip_mc_add1_src(pmc, sfmode, &psfsrc[i]); |
1718 | if (err) | 1718 | if (err) |
1719 | break; | 1719 | break; |
1720 | } | 1720 | } |