]> git.baikalelectronics.ru Git - kernel.git/commit
seg6_iptunnel: Remove redundant initialization of variable err
authorColin Ian King <colin.king@canonical.com>
Thu, 2 Sep 2021 14:35:05 +0000 (15:35 +0100)
committerDavid S. Miller <davem@davemloft.net>
Fri, 3 Sep 2021 11:32:25 +0000 (12:32 +0100)
commit923c1385d6b4df1c83a74593b3e47624d476d16d
treef815e18c0d592909733581215080180e89ca883e
parent0e6ed6639fd9d6c18ba4d99aeb8a405726e28969
seg6_iptunnel: Remove redundant initialization of variable err

The variable err is being initialized with a value that is never read, it
is being updated later on. The assignment 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_iptunnel.c