Re: [PATCH] net/rose: remove redundant assignment to variable failed

From: David Miller
Date: Tue Jan 07 2020 - 16:52:53 EST

From: Colin King <colin.king@xxxxxxxxxxxxx>
Date: Tue, 7 Jan 2020 15:24:15 +0000

> From: Colin Ian King <colin.king@xxxxxxxxxxxxx>
> The variable failed is being assigned a value that is never read, the
> following goto statement jumps to the end of the function and variable
> failed is not referenced at all. Remove the redundant assignment.
> Addresses-Coverity: ("Unused value")
> Signed-off-by: Colin Ian King <colin.king@xxxxxxxxxxxxx>

Applied to net-next.