diff options
| author | Chen Jiahao <chenjiahao16@huawei.com> | 2023-08-16 10:23:23 +0800 |
|---|---|---|
| committer | Hans Verkuil <hverkuil-cisco@xs4all.nl> | 2023-09-27 09:39:55 +0200 |
| commit | 16fae979ed6b2753c07bdc9943cd9892349b69d4 (patch) | |
| tree | 60bd240ba9c6e5514339c35d2e99a1551c99b969 /tools/perf/scripts/python | |
| parent | e2f01278781f80ccb329218793d78980cdd8d3c3 (diff) | |
| download | kernel-16fae979ed6b2753c07bdc9943cd9892349b69d4.tar.gz | |
media: usb: siano: Use kmemdup to simplify kmalloc and memcpy logic
Using kmemdup() helper function rather than implementing it again
with kmalloc() + memcpy(), which improves the code readability.
Signed-off-by: Chen Jiahao <chenjiahao16@huawei.com>
Reviewed-by: Dongliang Mu <dzm91@hust.edu.cn>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
