From: Lai Jiangshan Date: Thu, 10 Jul 2014 16:11:13 +0000 (+0800) Subject: workqueue: reuse the already calculated pwq in try_to_grab_pending() X-Git-Tag: cleanup-for-v3.18~151^2~11 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9c34a7042e6fe79b900bd44db03dde8a4ecdf6f6;p=pandora-kernel.git workqueue: reuse the already calculated pwq in try_to_grab_pending() try_to_grab_pending() was re-calculating the associated pwq using get_work_pwq() when it already has it cached in a local varible and the association can't change. Reuse the local variable instead. This doesn't introduce any functional changes. tj: Updated description. Signed-off-by: Lai Jiangshan Signed-off-by: Tejun Heo --- Reading git-diff-tree failed