summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/task-analyzer.py
diff options
context:
space:
mode:
authorLi Zetao <lizetao1@huawei.com>2023-08-10 14:47:38 +0300
committerMark Brown <broonie@kernel.org>2023-08-14 21:44:39 +0300
commit29681184da28babc990a66e197d27ab98f2027af (patch)
treed5314a9d9cfe132b4e525f56838f0d628aae2837 /tools/perf/scripts/python/task-analyzer.py
parentb0a4c7f5921d9c2998bdd767a93d995786d72adc (diff)
downloadlinux-29681184da28babc990a66e197d27ab98f2027af.tar.xz
ASoC: SOF: ipc3: Use devm_kmemdup to replace devm_kmalloc + memcpy
Use the helper function devm_kmemdup() rather than duplicating its implementation, which helps to enhance code readability. Signed-off-by: Li Zetao <lizetao1@huawei.com> Reviewed-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Link: https://lore.kernel.org/r/20230810114738.2103792-3-lizetao1@huawei.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions