Re: [PATCH][next] ath11k: remove redundant initialization of pointer info

From: Kalle Valo
Date: Tue May 12 2020 - 03:34:50 EST


Colin King <colin.king@xxxxxxxxxxxxx> wrote:

> Pointer info is being assigned twice, once at the start of the function
> and secondly when it is just about to be accessed. Remove the redundant
> initialization and keep the original assignment to info that is close
> to the memcpy that uses it.
>
> Addresses-Coverity: ("Unused value")
> 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.

52b776fa5921 ath11k: remove redundant initialization of pointer info

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

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