summaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-cmp.c
diff options
context:
space:
mode:
authorSlark Xiao <slark_xiao@163.com>2022-06-22 09:21:13 +0300
committerJohan Hovold <johan@kernel.org>2022-06-22 09:56:52 +0300
commit7828466cff6b38c2a8ea7cc43958e3abe04342c2 (patch)
tree65b26b2ebab71b53ea74da7cc9a50af3ca20f4fd /lib/mpi/mpi-cmp.c
parenta111daf0c53ae91e71fd2bfe7497862d14132e3e (diff)
downloadlinux-7828466cff6b38c2a8ea7cc43958e3abe04342c2.tar.xz
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 'lib/mpi/mpi-cmp.c')
0 files changed, 0 insertions, 0 deletions