multicast: remove useless parameter for group add
authorHangbin Liu <liuhangbin@gmail.com>
Fri, 20 Jul 2018 06:07:42 +0000 (14:07 +0800)
committerDavid S. Miller <davem@davemloft.net>
Sun, 22 Jul 2018 05:46:39 +0000 (22:46 -0700)
commit0ae0d60a379c11d6f3b11d9b9e8dbdd1fc683a1a
tree4c373cbc97cd83581e086c54995ac50afb7ff119
parentef32477971b50c1fa11f52f5ed44cfbc98075030
multicast: remove useless parameter for group add

Remove the mode parameter for igmp/igmp6_group_added as we can get it
from first parameter.

Fixes: 6e2059b53f988 (ipv4/igmp: init group mode as INCLUDE when join source group)
Fixes: c7ea20c9da5b9 (ipv6/mcast: init as INCLUDE when join SSM INCLUDE group)
Signed-off-by: Hangbin Liu <liuhangbin@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/igmp.c
net/ipv6/mcast.c