Re: [PATCH] mt7601u: Remove redundant initialization of variable ret

From: Jakub Kicinski
Date: Thu Oct 07 2021 - 22:21:33 EST


On Fri, 8 Oct 2021 00:41:53 +0100 Colin King wrote:
> From: Colin Ian King <colin.king@xxxxxxxxxxxxx>
>
> The variable ret is being initialized with a value that is never read,
> it is assigned later on with a different value. The initialization is
> redundant and can be removed.
>
> Addresses-Coverity: ("Unused value")
> Signed-off-by: Colin Ian King <colin.king@xxxxxxxxxxxxx>

Acked-by: Jakub Kicinski <kubakici@xxxxx>