commit | 8d03ecfe471802d6afe97da97722b6924533aa82 | [log] [tgz] |
---|---|---|
author | Tejun Heo <tj@kernel.org> | Wed Feb 13 19:29:10 2013 -0800 |
committer | Tejun Heo <tj@kernel.org> | Wed Feb 13 19:29:10 2013 -0800 |
tree | 1178cacfdd36358665f9a4c6325329346b221dd0 | |
parent | 1dd638149f1f9d7d7dbb32591d5c7c2a0ea36264 [diff] |
workqueue: reimplement is_chained_work() using current_wq_worker() is_chained_work() was added before current_wq_worker() and implemented its own ham-fisted way of finding out whether %current is a workqueue worker - it iterates through all possible workers. Drop the custom implementation and reimplement using current_wq_worker(). Signed-off-by: Tejun Heo <tj@kernel.org>