diff options
author | Tejun Heo <tj@kernel.org> | 2024-01-26 22:55:46 +0100 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2024-01-26 22:55:46 +0100 |
commit | 6a229b0e2ff6143b65ba4ef42bd71e29ffc2c16d (patch) | |
tree | 3c3abb51ecd098ecb834f4c22d7189b7a8a235c9 /Makefile | |
parent | workqueue: Shorten events_freezable_power_efficient name (diff) | |
download | linux-6a229b0e2ff6143b65ba4ef42bd71e29ffc2c16d.tar.xz linux-6a229b0e2ff6143b65ba4ef42bd71e29ffc2c16d.zip |
workqueue: Drop unnecessary kick_pool() in create_worker()
After creating a new worker, create_worker() is calling kick_pool() to wake
up the new worker task. However, as kick_pool() doesn't do anything if there
is no work pending, it also calls wake_up_process() explicitly. There's no
reason to call kick_pool() at all. wake_up_process() is enough by itself.
Drop the unnecessary kick_pool() call.
Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions