Lai Jiangshan 228f1d0018 workqueue: remove @wakeup from worker_set_flags()
worker_set_flags() has only two callers, each specifying %true and
%false for @wakeup.  Let's push the wake up to the caller and remove
@wakeup from worker_set_flags().  The caller can use the following
instead if wakeup is necessary:

	worker_set_flags();
	if (need_more_worker(pool))
 		wake_up_worker(pool);

This makes the code simpler.  This patch doesn't introduce behavior
changes.

tj: Updated description and comments.

Signed-off-by: Lai Jiangshan <laijs@cn.fujitsu.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
2014-07-22 12:08:36 -04:00
..
2014-06-10 15:34:46 -07:00
2014-06-12 13:43:08 +02:00
2014-06-06 16:08:14 -07:00
2014-05-16 13:22:48 -04:00
2014-06-06 16:08:12 -07:00
2013-09-11 15:58:27 -07:00
2014-04-30 13:46:17 +02:00