]> git.baikalelectronics.ru Git - kernel.git/commit
ipv6: remove redundant assignment to variable err
authorColin Ian King <colin.king@canonical.com>
Wed, 15 Apr 2020 23:16:30 +0000 (00:16 +0100)
committerDavid S. Miller <davem@davemloft.net>
Wed, 15 Apr 2020 23:20:22 +0000 (16:20 -0700)
commit05fe5394ae9a21fa3b1aa1fc435f3c96b0c23fa8
tree921c144f72266307c0e57a8f91752cb7a48e6dd0
parent15326f509057ca79e1fb9e29b7c236048b854c5b
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.

Addresses-Coverity: ("Unused value")
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/seg6.c