[PATCH] mt7601u: Remove redundant initialization of variable ret

Jakub Kicinski kubakici at wp.pl
Thu Oct 7 19:14:42 PDT 2021


On Fri,  8 Oct 2021 00:41:53 +0100 Colin King wrote:
> From: Colin Ian King <colin.king at canonical.com>
> 
> 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 at canonical.com>

Acked-by: Jakub Kicinski <kubakici at wp.pl>



More information about the linux-arm-kernel mailing list