summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/task-analyzer.py
diff options
context:
space:
mode:
authorJoe Hattori <joe@pf.is.s.u-tokyo.ac.jp>2024-12-19 05:05:06 +0300
committerVinod Koul <vkoul@kernel.org>2024-12-24 12:53:32 +0300
commit0ab433180eb29bc69f9327e84028d878fb4670c5 (patch)
treed166c7bc677cf2b248f600e705b26729b36d8b6f /tools/perf/scripts/python/task-analyzer.py
parent66d88e16f2044400fe6cc75cd51e1e74c4f9d96d (diff)
downloadlinux-0ab433180eb29bc69f9327e84028d878fb4670c5.tar.xz
dmaengine: ti: edma: make the loop condition simpler in edma_probe()
When i == ecc->num_tc, the edma_probe() calls of_parse_phandle_with_fixed_args() and breaks from the loop regardless of the return value. Since neither the returned value nor the output argument tc_args is used, set i < ecc->num_tc as the loop condition. Signed-off-by: Joe Hattori <joe@pf.is.s.u-tokyo.ac.jp> Link: https://lore.kernel.org/r/20241219020507.1983124-2-joe@pf.is.s.u-tokyo.ac.jp Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions