diff options
| author | 2022-06-22 14:21:13 +0800 | |
|---|---|---|
| committer | 2022-06-22 08:56:52 +0200 | |
| commit | 7828466cff6b38c2a8ea7cc43958e3abe04342c2 (patch) | |
| tree | 65b26b2ebab71b53ea74da7cc9a50af3ca20f4fd /include/linux/phy/git:/ssh:/git@git.zx2c4.com | |
| parent | Linux 5.19-rc3 (diff) | |
| download | linux-dev-7828466cff6b38c2a8ea7cc43958e3abe04342c2.tar.xz linux-dev-7828466cff6b38c2a8ea7cc43958e3abe04342c2.zip | |
USB: serial: use kmemdup instead of kmalloc + memcpy
For code neat purpose, we can use kmemdup to replace
kmalloc + memcpy.
Signed-off-by: Slark Xiao <slark_xiao@163.com>
Signed-off-by: Johan Hovold <johan@kernel.org>
Diffstat (limited to 'include/linux/phy/git:/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
