Re: [PATCH][next] ath11k: Remove redundant assignment to variable fw_size

From: Kalle Valo
Date: Mon Oct 11 2021 - 02:25:01 EST


Colin King <colin.king@xxxxxxxxxxxxx> wrote:

> Variable fw_size is being assigned a value that is never read and
> being re-assigned a new value in the next statement. The assignment
> is redundant and can be removed.
>
> Addresses-Coverity: ("Unused value")
> Fixes: 336e7b53c82f ("ath11k: clean up BDF download functions")
> Signed-off-by: Colin Ian King <colin.king@xxxxxxxxxxxxx>
> Signed-off-by: Kalle Valo <kvalo@xxxxxxxxxxxxxx>

Patch applied to ath-next branch of ath.git, thanks.

4f50bdfb4e5f ath11k: Remove redundant assignment to variable fw_size

--
https://patchwork.kernel.org/project/linux-wireless/patch/20211006105529.1011239-1-colin.king@xxxxxxxxxxxxx/

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