Re: [PATCH wireless v2 -next] wcn36xx: Remove unnecessary memset

From: Kalle Valo
Date: Tue Jan 26 2021 - 11:26:48 EST


Zheng Yongjun <zhengyongjun3@xxxxxxxxxx> wrote:

> memcpy operation is next to memset code, and the size to copy is equals to the size to
> memset, so the memset operation is unnecessary, remove it.
>
> Signed-off-by: Zheng Yongjun <zhengyongjun3@xxxxxxxxxx>
> Signed-off-by: Kalle Valo <kvalo@xxxxxxxxxxxxxx>

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

337cd0d3ce0c wcn36xx: Remove unnecessary memset

--
https://patchwork.kernel.org/project/linux-wireless/patch/20201223012516.24286-1-zhengyongjun3@xxxxxxxxxx/

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