[IPV4]: Fix warning in ip_mc_rejoin_group.
Kill warning about unused variable `in_dev' when CONFIG_IP_MULTICAST is not set. Signed-off-by: Geert Uytterhoeven <Geert.Uytterhoeven@sonycom.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
2536b94a2d
commit
08882669e0
1 changed files with 1 additions and 1 deletions
|
@ -1255,9 +1255,9 @@ void ip_mc_inc_group(struct in_device *in_dev, __be32 addr)
|
|||
*/
|
||||
void ip_mc_rejoin_group(struct ip_mc_list *im)
|
||||
{
|
||||
#ifdef CONFIG_IP_MULTICAST
|
||||
struct in_device *in_dev = im->interface;
|
||||
|
||||
#ifdef CONFIG_IP_MULTICAST
|
||||
if (im->multiaddr == IGMP_ALL_HOSTS)
|
||||
return;
|
||||
|
||||
|
|
Loading…
Reference in a new issue