workqueue: simplify wq_update_unbound_numa() by jumping to use_dfl_pwq if the target...
authorDaeseok Youn <daeseok.youn@gmail.com>
Fri, 18 Apr 2014 00:08:14 +0000 (09:08 +0900)
committerTejun Heo <tj@kernel.org>
Fri, 18 Apr 2014 19:50:34 +0000 (15:50 -0400)
wq_update_unbound_numa(), when it's decided that the newly updated
cpumask equals the default, looks at whether the current pwq is
already the default one and skips setting pwq to the default one.
This extra step is unnecessary and we can always jump to use_dfl_pwq
instead. Simplify the code by removing the conditional.
This doesn't make any functional difference.

Signed-off-by: Daeseok Youn <daeseok.youn@gmail.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
kernel/workqueue.c

Simple merge