[PATCH -next] scsi: megaraid: Remove unnecessary memset

Kalle Valo kvalo at codeaurora.org
Tue Dec 22 09:33:43 EST 2020


Zheng Yongjun <zhengyongjun3 at huawei.com> writes:

> 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 at huawei.com>
> ---
>  drivers/net/wireless/ath/wcn36xx/smd.c | 1 -
>  1 file changed, 1 deletion(-)

The title is wrong, this is not about scsi. Please resend as v2.

-- 
https://patchwork.kernel.org/project/linux-wireless/list/

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



More information about the wcn36xx mailing list