Re: [PATCH] net: ethernet: sun: remove redundant assignment to variable err
From: David Miller
Date: Thu Jul 04 2019 - 15:12:41 EST
From: Colin King <colin.king@xxxxxxxxxxxxx>
Date: Thu, 4 Jul 2019 13:36:51 +0100
> From: Colin Ian King <colin.king@xxxxxxxxxxxxx>
>
> The variable err is being assigned with a value that is never
> read and it is being updated in the next statement with a new value.
> The assignment is redundant and can be removed.
>
> Addresses-Coverity: ("Unused value")
> Signed-off-by: Colin Ian King <colin.king@xxxxxxxxxxxxx>
Applied.