diff options
author | Lai Jiangshan <laijs@linux.alibaba.com> | 2021-12-07 10:35:37 +0300 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2021-12-10 01:15:15 +0300 |
commit | ccf45156fd167a234baf038c11c1f367c7ccabd4 (patch) | |
tree | de40859d98deb4b7bf3dd5d470fdafeb4d7bb18d /kernel/workqueue.c | |
parent | c741e49150dbb0c0aebe234389f4aa8b47958fa8 (diff) | |
download | linux-ccf45156fd167a234baf038c11c1f367c7ccabd4.tar.xz |
workqueue: Remove the outdated comment before wq_worker_sleeping()
It isn't called with preempt disabled now.
Signed-off-by: Lai Jiangshan <laijs@linux.alibaba.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'kernel/workqueue.c')
-rw-r--r-- | kernel/workqueue.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/kernel/workqueue.c b/kernel/workqueue.c index 613917bbc4e7..2964dbb783fe 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) { |