Commit 211dc59b authored by Fushuai Wang's avatar Fushuai Wang Committed by Leon Romanovsky
Browse files

IB/hfi1: Use for_each_online_cpu() instead of for_each_cpu()



Replace the opencoded for_each_cpu(cpu, cpu_online_mask) loop with the
more readable and equivalent for_each_online_cpu(cpu) macro.

Signed-off-by: default avatarFushuai Wang <wangfushuai@baidu.com>
Link: https://patch.msgid.link/20250811062534.1041-1-wangfushuai@baidu.com


Signed-off-by: default avatarLeon Romanovsky <leon@kernel.org>
parent 44d69d3c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment