Re: [PATCH] net: ipv6: rpl_iptunnel: remove redundant assignments to variable err

From: David Miller
Date: Thu Apr 02 2020 - 09:58:09 EST


From: Colin King <colin.king@xxxxxxxxxxxxx>
Date: Thu, 2 Apr 2020 11:18:59 +0100

> From: Colin Ian King <colin.king@xxxxxxxxxxxxx>
>
> 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@xxxxxxxxxxxxx>

Applied.