]> git.baikalelectronics.ru Git - kernel.git/commit
workqueue: rename first_worker() to first_idle_worker()
authorLai Jiangshan <laijs@cn.fujitsu.com>
Thu, 22 May 2014 08:44:07 +0000 (16:44 +0800)
committerTejun Heo <tj@kernel.org>
Thu, 22 May 2014 15:35:51 +0000 (11:35 -0400)
commit2091f2b0e849ecd534c9d8fb520a482c72a33c81
tree3b79dc2d386d79ae339161a1e3cde1f0665d1ea0
parent4085366c33755fb74f919a6b8e14e83b45481889
workqueue: rename first_worker() to first_idle_worker()

first_worker() actually returns the first idle workers, the name
first_idle_worker() which is self-commnet will be better.

All the callers of first_worker() expect it returns an idle worker,
the name first_idle_worker() with "idle" notation makes reviewers happier.

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