Re: [PATCH] net: ipv4: remove redundant assignment to variable rc

From: David Miller
Date: Mon Apr 20 2020 - 19:27:25 EST


From: Colin King <colin.king@xxxxxxxxxxxxx>
Date: Mon, 20 Apr 2020 22:51:49 +0100

> From: Colin Ian King <colin.king@xxxxxxxxxxxxx>
>
> The variable rc is being assigned 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 to net-next, thanks.