From: Tejun Heo Date: Thu, 14 Feb 2013 03:29:10 +0000 (-0800) Subject: workqueue: reimplement is_chained_work() using current_wq_worker() X-Git-Tag: v3.9-rc1~159^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8d03ecfe471802d6afe97da97722b6924533aa82;p=pandora-kernel.git 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 --- Reading git-diff-tree failed