Skip to content
Commit 3f96556f authored by YueHaibing's avatar YueHaibing Committed by Kalle Valo
Browse files

wcn36xx: Use kmemdup instead of duplicating it in wcn36xx_smd_process_ptt_msg_rsp



Replace calls to kmalloc followed by a memcpy with a direct call to
kmemdup.

Signed-off-by: default avatarYueHaibing <yuehaibing@huawei.com>
Signed-off-by: default avatarKalle Valo <kvalo@codeaurora.org>
parent bd1d3950
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment