summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/task-analyzer.py
diff options
context:
space:
mode:
authorChen Jiahao <chenjiahao16@huawei.com>2023-08-16 10:23:23 +0800
committerHans Verkuil <hverkuil-cisco@xs4all.nl>2023-09-27 09:39:55 +0200
commit16fae979ed6b2753c07bdc9943cd9892349b69d4 (patch)
tree60bd240ba9c6e5514339c35d2e99a1551c99b969 /tools/perf/scripts/python/task-analyzer.py
parente2f01278781f80ccb329218793d78980cdd8d3c3 (diff)
downloadkernel-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/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions