Skip to content
Commit 7828466c authored by Slark Xiao's avatar Slark Xiao Committed by Johan Hovold
Browse files

USB: serial: use kmemdup instead of kmalloc + memcpy



For code neat purpose, we can use kmemdup to replace
kmalloc + memcpy.

Signed-off-by: default avatarSlark Xiao <slark_xiao@163.com>
Signed-off-by: default avatarJohan Hovold <johan@kernel.org>
parent a111daf0
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