diff options
| author | Lai Jiangshan <laijs@cn.fujitsu.com> | 2013-02-19 12:17:02 -0800 |
|---|---|---|
| committer | Tejun Heo <tj@kernel.org> | 2013-03-04 09:44:58 -0800 |
| commit | f5faa0774e07eada85b0c55ec789b3f337d01412 (patch) | |
| tree | 439566bd5b8d0187d380b950ef386c349448aca9 /kernel/workqueue_internal.h | |
| parent | 45d9550a0e7e9230606ca3c4c6f4dc6297848b2f (diff) | |
workqueue: use %current instead of worker->task in worker_maybe_bind_and_lock()
worker_maybe_bind_and_lock() uses both @worker->task and @current at
the same time. As worker_maybe_bind_and_lock() can only be called by
the current worker task, they are always the same.
Update worker_maybe_bind_and_lock() to use %current consistently.
This doesn't introduce any functional change.
tj: Massaged the description.
Signed-off-by: Lai Jiangshan <laijs@cn.fujitsu.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'kernel/workqueue_internal.h')
0 files changed, 0 insertions, 0 deletions
