diff options
author | Andrea Parri (Microsoft) <parri.andrea@gmail.com> | 2020-06-17 18:46:37 +0200 |
---|---|---|
committer | Wei Liu <wei.liu@kernel.org> | 2020-06-19 15:38:19 +0000 |
commit | 0a96820929f01ecf4cb1c33afe7044c301a06c2c (patch) | |
tree | 6388c9a00798641f34b0ff09f80cdea35e6f3716 /drivers/hv/hv_kvp.c | |
parent | 458d090fbad59d1f849ee15e78d0471784d428b6 (diff) | |
download | linux-0a96820929f01ecf4cb1c33afe7044c301a06c2c.tar.bz2 |
Drivers: hv: vmbus: Replace cpumask_test_cpu(, cpu_online_mask) with cpu_online()
A slight improvement in readability, and this does also remove one
memory access when NR_CPUS == 1! ;-)
Signed-off-by: Andrea Parri (Microsoft) <parri.andrea@gmail.com>
Link: https://lore.kernel.org/r/20200617164642.37393-4-parri.andrea@gmail.com
Reviewed-by: Michael Kelley <mikelley@microsoft.com>
Signed-off-by: Wei Liu <wei.liu@kernel.org>
Diffstat (limited to 'drivers/hv/hv_kvp.c')
0 files changed, 0 insertions, 0 deletions