diff options
author | 2025-01-28 11:46:32 -0500 | |
---|---|---|
committer | 2025-02-24 16:37:22 -0500 | |
commit | 2a402aa64c10251093273656891bf788cd95677f (patch) | |
tree | 68bc8bfedbbf2e6fd0d65d3dfe9dd199ba32f841 /rust/helpers/helpers.c | |
parent | virtio_net: simplify virtnet_set_affinity() (diff) | |
download | wireguard-linux-2a402aa64c10251093273656891bf788cd95677f.tar.xz wireguard-linux-2a402aa64c10251093273656891bf788cd95677f.zip |
ibmvnic: simplify ibmvnic_set_queue_affinity()
A loop based on cpumask_next_wrap() opencodes the dedicated macro
for_each_online_cpu_wrap(). Use it as it improves readability and
simplifies maintenance.
This also helps to drop cpumask handling code in the caller function.
Signed-off-by: Yury Norov <yury.norov@gmail.com>
Tested-by: Nick Child <nnac123@linux.ibm.com>
Diffstat (limited to 'rust/helpers/helpers.c')
0 files changed, 0 insertions, 0 deletions