diff options
author | RongQing.Li <roy.qing.li@gmail.com> | 2012-04-04 16:47:04 +0000 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-04-27 09:51:19 -0700 |
commit | 93deb00abf9ccfcd66060760df11061cc0b9f030 (patch) | |
tree | 82ecb493309270fbe212b09a4a6c4d0438eb7f46 /net/phonet/pep.c | |
parent | 4baf6fcf14c1c8e228dbf73bc3b5393c80ce6065 (diff) | |
download | kernel_samsung_aries-93deb00abf9ccfcd66060760df11061cc0b9f030.zip kernel_samsung_aries-93deb00abf9ccfcd66060760df11061cc0b9f030.tar.gz kernel_samsung_aries-93deb00abf9ccfcd66060760df11061cc0b9f030.tar.bz2 |
ipv6: fix array index in ip6_mc_add_src()
[ Upstream commit 78d50217baf36093ab320f95bae0d6452daec85c ]
Convert array index from the loop bound to the loop index.
And remove the void type conversion to ip6_mc_del1_src() return
code, seem it is unnecessary, since ip6_mc_del1_src() does not
use __must_check similar attribute, no compiler will report the
warning when it is removed.
v2: enrich the commit header
Signed-off-by: RongQing.Li <roy.qing.li@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'net/phonet/pep.c')
0 files changed, 0 insertions, 0 deletions