Re: [PATCH] mt7601u: Remove redundant initialization of variable ret
From: Kalle Valo
Date: Wed Oct 13 2021 - 02:21:46 EST
Colin King <colin.king@xxxxxxxxxxxxx> 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>
Patch applied to wireless-drivers-next.git, thanks.
3e4beec5e679 mt7601u: Remove redundant initialization of variable ret
--
https://patchwork.kernel.org/project/linux-wireless/patch/20211007234153.31222-1-colin.king@xxxxxxxxxxxxx/
https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches