projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2536b94
)
[IPV4]: Fix warning in ip_mc_rejoin_group.
author
Geert Uytterhoeven
<Geert.Uytterhoeven@sonycom.com>
Tue, 13 Mar 2007 00:02:37 +0000
(17:02 -0700)
committer
David S. Miller
<davem@davemloft.net>
Tue, 13 Mar 2007 00:02:37 +0000
(17:02 -0700)
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>
net/ipv4/igmp.c
patch
|
blob
|
history
diff --git
a/net/ipv4/igmp.c
b/net/ipv4/igmp.c
index 1c6a084b5fb7adf9e4a77e9b1227afc97082b117..8cedb2a2c9dfa8832a28b8f274aea8fb3681f1ee 100644
(file)
--- a/
net/ipv4/igmp.c
+++ b/
net/ipv4/igmp.c
@@
-1255,9
+1255,9
@@
out:
*/
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;