]> git.baikalelectronics.ru Git - kernel.git/commit
net: ipv6: rpl_iptunnel: remove redundant assignments to variable err
authorColin Ian King <colin.king@canonical.com>
Thu, 2 Apr 2020 10:18:59 +0000 (11:18 +0100)
committerDavid S. Miller <davem@davemloft.net>
Thu, 2 Apr 2020 13:57:34 +0000 (06:57 -0700)
commitd16fa759253ff7a42b5257d0db9784caef2da9c0
tree6a72b4901bca3b212babf86784e3d7849e13e76a
parent21f6f946938693628721d68f13b8ea2afa789b4a
net: ipv6: rpl_iptunnel: remove redundant assignments 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/rpl_iptunnel.c