From: Jun Zhao Date: Wed, 30 Nov 2011 06:21:04 +0000 (+0000) Subject: ipv4 : igmp : Delete useless parameter in ip_mc_add1_src() X-Git-Tag: next-20111202~50^2~18 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=5eb81e89164a5cea31dbc2df37a33588d4466352;p=karo-tx-linux.git 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 Signed-off-by: David S. Miller --- 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: * 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; @@ -1714,7 +1714,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