Commit 52bc7d66 authored by Li Zetao's avatar Li Zetao Committed by Luiz Augusto von Dentz
Browse files

Bluetooth: btrtl: Use kvmemdup to simplify the code



Use kvmemdup instead of kvmalloc() + memcpy() to simplify the code.

No functional change intended.

Signed-off-by: default avatarLi Zetao <lizetao1@huawei.com>
Signed-off-by: default avatarLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
parent cb45396f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment