Searched hist:"74 fd304f2395e574a21cd06912f860771c82ee88" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/net/ipv6/ |
H A D | route.c | diff 74fd304f2395e574a21cd06912f860771c82ee88 Tue Jun 28 09:54:06 CDT 2022 Colin Ian King <colin.i.king@gmail.com> ipv6: remove redundant store to value after addition
There is no need to store the result of the addition back to variable count after the addition. The store is redundant, replace += with just +
Cleans up clang scan build warning: warning: Although the value stored to 'count' is used in the enclosing expression, the value is never actually read from 'count'
Signed-off-by: Colin Ian King <colin.i.king@gmail.com> Reviewed-by: David Ahern <dsahern@kernel.org> Link: https://lore.kernel.org/r/20220628145406.183527-1-colin.i.king@gmail.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
|