workqueue: Use wake_up_worker() in wq_worker_sleeping() instead of open code
authorLai Jiangshan <laijs@linux.alibaba.com>
Thu, 23 Dec 2021 12:31:39 +0000 (20:31 +0800)
committerTejun Heo <tj@kernel.org>
Wed, 12 Jan 2022 17:40:32 +0000 (07:40 -1000)
commitcc5bff38463e0894dd596befa99f9d6860e15f5e
tree461d1562544cfc1595fec1c678c04ec0a9565bd6
parent2c1f1a9180bfacbc3c8e5b10075640cc810cf9c0
workqueue: Use wake_up_worker() in wq_worker_sleeping() instead of open code

The wakeup code in wq_worker_sleeping() is the same as wake_up_worker().

Signed-off-by: Lai Jiangshan <laijs@linux.alibaba.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
kernel/workqueue.c