]> git.baikalelectronics.ru Git - kernel.git/commit
mcastv6: Local variable shadows function argument
authorGerrit Renker <gerrit@erg.abdn.ac.uk>
Tue, 21 Jul 2009 18:13:25 +0000 (11:13 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 21 Jul 2009 18:13:25 +0000 (11:13 -0700)
commit0d7fd32a0bd8e762ef78cbaef330b3e99a1b3174
treeba79cdac053d2555c77957faee22c3805b53fe91
parente6c237d1704778ed63a1fa1fb9487c840aabad1f
mcastv6: Local variable shadows function argument

The local variable 'idev' shadows the function argument 'idev' to
ip6_mc_add_src(). Fixed by removing the local declaration, as pmc->idev
should be identical with 'idev' passed as argument.

Signed-off-by: Gerrit Renker <gerrit@erg.abdn.ac.uk>
Acked-by: David L Stevens <dlstevens@us.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/mcast.c