diff options
author | 2024-07-11 16:35:44 +0800 | |
---|---|---|
committer | 2024-07-11 12:50:34 -1000 | |
commit | 2cb61f76be3b17d5ad42ba3b7b23c7bf98253a0b (patch) | |
tree | 46c3b2f345af55e830de45d10d807a73cb219b61 /scripts/generate_rust_analyzer.py | |
parent | workqueue: Remove cpus_read_lock() from apply_wqattrs_lock() (diff) | |
download | linux-rng-2cb61f76be3b17d5ad42ba3b7b23c7bf98253a0b.tar.xz linux-rng-2cb61f76be3b17d5ad42ba3b7b23c7bf98253a0b.zip |
workqueue: Remove the unneeded cpumask empty check in wq_calc_pod_cpumask()
The cpumask empty check in wq_calc_pod_cpumask() has long been useless.
It just works purely as documents which states that the cpumask is not
possible empty after the function returns.
Now the code above is even more explicit that the cpumask is not empty,
so the document-only empty check can be removed.
Signed-off-by: Lai Jiangshan <jiangshan.ljs@antgroup.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions