Re: [PATCH] libertas: remove redundant assignment to variable ret

From: Kalle Valo
Date: Fri Oct 04 2019 - 09:46:44 EST


Colin King <colin.king@xxxxxxxxxxxxx> wrote:

> From: Colin Ian King <colin.king@xxxxxxxxxxxxx>
>
> The variable ret is being assigned a value that is never read and is
> being re-assigned a little later on. The assignment is redundant and hence
> can be removed.
>
> Addresses-Coverity: ("Unused value")
> Signed-off-by: Colin Ian King <colin.king@xxxxxxxxxxxxx>
> Reviewed-by: Dan Carpenter <dan.carpenter@xxxxxxxxxx>

Patch applied to wireless-drivers-next.git, thanks.

60b5b49f6a6e libertas: remove redundant assignment to variable ret

--
https://patchwork.kernel.org/patch/11170731/

https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches