Re: [PATCH] libertas: remove redundant initialization of variable ret
From: Kalle Valo
Date: Mon Feb 08 2021 - 06:33:18 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
> 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>
Patch applied to wireless-drivers-next.git, thanks.
1d5248882d64 libertas: remove redundant initialization of variable ret
--
https://patchwork.kernel.org/project/linux-wireless/patch/20210128162202.642848-1-colin.king@xxxxxxxxxxxxx/
https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches