[PATCH] libertas: remove redundant initialization of variable ret
Kalle Valo
kvalo at codeaurora.org
Mon Feb 8 06:16:03 EST 2021
Colin King <colin.king at canonical.com> wrote:
> From: Colin Ian King <colin.king at canonical.com>
>
> 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 at canonical.com>
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@canonical.com/
https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches
More information about the libertas-dev
mailing list