diff options
author | 2021-12-07 15:35:37 +0800 | |
---|---|---|
committer | 2021-12-09 12:15:15 -1000 | |
commit | ccf45156fd167a234baf038c11c1f367c7ccabd4 (patch) | |
tree | de40859d98deb4b7bf3dd5d470fdafeb4d7bb18d /kernel/workqueue.c | |
parent | Merge tag 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/rdma/rdma (diff) | |
download | linux-rng-ccf45156fd167a234baf038c11c1f367c7ccabd4.tar.xz linux-rng-ccf45156fd167a234baf038c11c1f367c7ccabd4.zip |
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) { |