diff options
author | 2025-01-28 11:46:31 -0500 | |
---|---|---|
committer | 2025-02-24 16:36:59 -0500 | |
commit | f02f2a1fe564cfa8ab88fd7c75f7d2554c2eaaac (patch) | |
tree | a23ed5f9823fd8eb58bd7b1aa4776e9d5616a8fd /rust/helpers/helpers.c | |
parent | objpool: rework objpool_pop() (diff) | |
download | wireguard-linux-f02f2a1fe564cfa8ab88fd7c75f7d2554c2eaaac.tar.xz wireguard-linux-f02f2a1fe564cfa8ab88fd7c75f7d2554c2eaaac.zip |
virtio_net: simplify virtnet_set_affinity()
The inner loop may be replaced with the dedicated for_each_online_cpu_wrap.
Use it as it improves readability and simplifies maintenance.
Signed-off-by: Yury Norov <yury.norov@gmail.com>
Reviewed-by: Nick Child <nnac123@linux.ibm.com>
Acked-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'rust/helpers/helpers.c')
0 files changed, 0 insertions, 0 deletions