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)
commitbf0df73a2f0d1674bcc930ddff0de0544e512b6e
treef815e18c0d592909733581215080180e89ca883e
parent743902c5446190d9293672e717a6933dffabcb24
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