Commit 6a229b0
committed
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>1 parent 8318d6a commit 6a229b0
1 file changed
Lines changed: 2 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2217 | 2217 | | |
2218 | 2218 | | |
2219 | 2219 | | |
2220 | | - | |
2221 | 2220 | | |
2222 | 2221 | | |
2223 | 2222 | | |
2224 | | - | |
2225 | | - | |
| 2223 | + | |
| 2224 | + | |
2226 | 2225 | | |
2227 | 2226 | | |
2228 | 2227 | | |
| |||
0 commit comments