summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/check-perf-trace.py
diff options
context:
space:
mode:
authorLi Zetao <lizetao1@huawei.com>2023-08-10 19:47:38 +0800
committerMark Brown <broonie@kernel.org>2023-08-14 19:44:39 +0100
commit29681184da28babc990a66e197d27ab98f2027af (patch)
treed5314a9d9cfe132b4e525f56838f0d628aae2837 /tools/perf/scripts/python/check-perf-trace.py
parentb0a4c7f5921d9c2998bdd767a93d995786d72adc (diff)
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/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions