summaryrefslogtreecommitdiff
path: root/net/ipv6/ping.c
diff options
context:
space:
mode:
authorColin Ian King <colin.king@canonical.com>2020-09-11 13:35:09 +0300
committerDavid S. Miller <davem@davemloft.net>2020-09-12 00:48:25 +0300
commit2291267e48c848a6effaaae882e08319db805a63 (patch)
tree1e3e431e51191992311282bc36b9fda3d62307e8 /net/ipv6/ping.c
parent4ba3819077254a10626e938acbb6c4e38883ab72 (diff)
downloadlinux-2291267e48c848a6effaaae882e08319db805a63.tar.xz
ipv6: remove redundant assignment to variable err
The variable err is being initialized with a value that is never read and it is being updated later with a new value. The initialization is redundant and can be removed. Also re-order variable declarations in reverse Christmas tree ordering. Addresses-Coverity: ("Unused value") Signed-off-by: Colin Ian King <colin.king@canonical.com> Reviewed-by: David Ahern <dsahern@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv6/ping.c')
0 files changed, 0 insertions, 0 deletions