From: Lai Jiangshan Date: Tue, 7 Dec 2021 07:35:37 +0000 (+0800) Subject: workqueue: Remove the outdated comment before wq_worker_sleeping() X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=ccf45156fd167a234baf038c11c1f367c7ccabd4;p=linux.git workqueue: Remove the outdated comment before wq_worker_sleeping() It isn't called with preempt disabled now. Signed-off-by: Lai Jiangshan Signed-off-by: Tejun Heo --- diff --git a/kernel/workqueue.c b/kernel/workqueue.c index 613917bbc4e73..2964dbb783fec 100644 --- a/kernel/workqueue.c +++ b/kernel/workqueue.c @@ -878,8 +878,7 @@ void wq_worker_running(struct task_struct *task) * @task: task going to sleep * * This function is called from schedule() when a busy worker is - * going to sleep. Preemption needs to be disabled to protect ->sleeping - * assignment. + * going to sleep. */ void wq_worker_sleeping(struct task_struct *task) {