wcn36xx: Remove unnecessary memset
authorZheng Yongjun <zhengyongjun3@huawei.com>
Mon, 18 Jan 2021 16:26:00 +0000 (18:26 +0200)
committerKalle Valo <kvalo@codeaurora.org>
Tue, 26 Jan 2021 16:24:56 +0000 (18:24 +0200)
commit337cd0d3ce0c2e005b650d8ab8f2b05a91ca132e
treef30b2252758b787f6cb4520b4de8fa2044b70ef1
parent0d96968315d7ffbd70d608b29e9bea084210b96d
wcn36xx: Remove unnecessary memset

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@huawei.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/20201223012516.24286-1-zhengyongjun3@huawei.com
drivers/net/wireless/ath/wcn36xx/smd.c