]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
workqueue: Simplify goto statement
authorLai Jiangshan <jiangshan.ljs@antgroup.com>
Tue, 2 Jul 2024 04:14:56 +0000 (12:14 +0800)
committerTejun Heo <tj@kernel.org>
Tue, 2 Jul 2024 17:17:22 +0000 (07:17 -1000)
commitb3d209164dc0aca115057b00d6b466793a747c87
tree8353c6e7a66f377367d0bc7dba79ef8ca408ff84
parent841658832335a32dd86f4e4d3aab7d14188b268b
workqueue: Simplify goto statement

Use a simple if-statement to replace the cumbersome goto-statement in
workqueue_set_unbound_cpumask().

Cc: Waiman Long <longman@redhat.com>
Signed-off-by: Lai Jiangshan <jiangshan.ljs@antgroup.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
kernel/workqueue.c