Re: [PATCH] net-sysfs: remove redundant assignment to variable ret

From: David Miller
Date: Thu Apr 09 2020 - 13:15:32 EST


From: Colin King <colin.king@xxxxxxxxxxxxx>
Date: Thu, 9 Apr 2020 14:41:26 +0100

> From: Colin Ian King <colin.king@xxxxxxxxxxxxx>
>
> The variable ret 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, thank you.