diff options
author | Yury Norov [NVIDIA] <yury.norov@gmail.com> | 2025-06-04 15:39:42 -0400 |
---|---|---|
committer | Leon Romanovsky <leon@kernel.org> | 2025-06-26 05:19:48 -0400 |
commit | 3ad8fb8afd843a4e3380690ed7b9822d9cf26d76 (patch) | |
tree | 4f7ce58e8e7c5aaca9b0fbe2585d150871ba288f /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 4ea9f618d73466234eeadf78c3a054d086c916af (diff) |
RDMA: hfi1: simplify hfi1_get_proc_affinity()
The function protects the for loop with affinity->num_core_siblings > 0
condition, which is redundant because the loop will break immediately in
that case.
Drop it and save one indentation level.
Signed-off-by: Yury Norov [NVIDIA] <yury.norov@gmail.com>
Link: https://patch.msgid.link/20250604193947.11834-7-yury.norov@gmail.com
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions