summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorQianfeng Rong <rongqianfeng@vivo.com>2025-08-12 06:53:04 +0300
committerHans Verkuil <hverkuil+cisco@kernel.org>2025-10-14 16:07:36 +0300
commite2b0d6906a3e1b2d112996c5f891510947cb9c99 (patch)
tree86b3b8bed1cade60c787bc0338bcf7ffcef5a776 /tools/perf/scripts/python
parent1772b7f8045b703befc947da02b3c2620dea64fe (diff)
downloadlinux-e2b0d6906a3e1b2d112996c5f891510947cb9c99.tar.xz
media: vivid: use vmalloc_array and vcalloc to simplify code
Remove array_size() calls and replace vmalloc(array_size()) with vmalloc_array() and vzalloc(array_size()) with vcalloc() to simplify the code. Signed-off-by: Qianfeng Rong <rongqianfeng@vivo.com> Signed-off-by: Hans Verkuil <hverkuil+cisco@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions