]> git.proxmox.com Git - mirror_ubuntu-jammy-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)
commit3c2b8d180a47d041e9101ead27e49d237df0f1d1
treeba79cdac053d2555c77957faee22c3805b53fe91
parentcb24405e67e56cbef51b5e4d0bb0a0fde167261f
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