]> git.ipfire.org Git - thirdparty/linux.git/commit
RDMI: hfi1: drop cpumask_empty() call in hfi1/affinity.c
authorYury Norov [NVIDIA] <yury.norov@gmail.com>
Wed, 4 Jun 2025 19:39:43 +0000 (15:39 -0400)
committerLeon Romanovsky <leon@kernel.org>
Thu, 26 Jun 2025 09:19:52 +0000 (05:19 -0400)
commitb61cc1891c040f72ee3038ef123d76fe874bd93a
treeb1b72b805ff02d06b16ab01645751437c24649f0
parent3ad8fb8afd843a4e3380690ed7b9822d9cf26d76
RDMI: hfi1: drop cpumask_empty() call in hfi1/affinity.c

In few places, the driver tests a cpumask for emptiness immediately
before calling functions that report emptiness themself.

Signed-off-by: Yury Norov [NVIDIA] <yury.norov@gmail.com>
Link: https://patch.msgid.link/20250604193947.11834-8-yury.norov@gmail.com
Signed-off-by: Leon Romanovsky <leon@kernel.org>
drivers/infiniband/hw/hfi1/affinity.c