From: Tejun Heo Date: Tue, 12 Mar 2013 18:29:59 +0000 (-0700) Subject: workqueue: remove workqueue_struct->pool_wq.single X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~125^2~71 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=420c0ddb1f205a3511b766d0dfee2cc87ed9dae0;p=pandora-kernel.git workqueue: remove workqueue_struct->pool_wq.single workqueue->pool_wq union is used to point either to percpu pwqs (pool_workqueues) or single unbound pwq. As the first pwq can be accessed via workqueue->pwqs list, there's no reason for the single pointer anymore. Use list_first_entry(workqueue->pwqs) to access the unbound pwq and drop workqueue->pool_wq.single pointer and the pool_wq union. It simplifies the code and eases implementing multiple unbound pools w/ custom attributes. This patch doesn't introduce any visible behavior changes. Signed-off-by: Tejun Heo Reviewed-by: Lai Jiangshan --- Reading git-diff-tree failed