[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>

authored by Geert Uytterhoeven and committed by David S. Miller 08882669 2536b94a

+1 -1
+1 -1
net/ipv4/igmp.c
··· 1255 1255 */ 1256 1256 void ip_mc_rejoin_group(struct ip_mc_list *im) 1257 1257 { 1258 + #ifdef CONFIG_IP_MULTICAST 1258 1259 struct in_device *in_dev = im->interface; 1259 1260 1260 - #ifdef CONFIG_IP_MULTICAST 1261 1261 if (im->multiaddr == IGMP_ALL_HOSTS) 1262 1262 return; 1263 1263