Re: [PATCH] net: rtnetlink: remove redundant assignment to variable err

From: David Miller
Date: Mon Apr 27 2020 - 14:14:31 EST


From: Colin King <colin.king@xxxxxxxxxxxxx>
Date: Sat, 25 Apr 2020 12:28:14 +0100

> From: Colin Ian King <colin.king@xxxxxxxxxxxxx>
>
> The variable err is being initializeed 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, thanks.