Commit 2cb61f7
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 <[email protected]>
Signed-off-by: Tejun Heo <[email protected]>1 parent 19af457 commit 2cb61f7
1 file changed
+0
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5150 | 5150 | | |
5151 | 5151 | | |
5152 | 5152 | | |
5153 | | - | |
5154 | | - | |
5155 | | - | |
5156 | | - | |
5157 | 5153 | | |
5158 | 5154 | | |
5159 | 5155 | | |
| |||
0 commit comments