Commit c514068
committed
workqueue: Rename __cancel_work_timer() to __cancel_timer_sync()
__cancel_work_timer() is used to implement cancel_work_sync() and
cancel_delayed_work_sync(), similarly to how __cancel_work() is used to
implement cancel_work() and cancel_delayed_work(). ie. The _timer part of
the name is a complete misnomer. The difference from __cancel_work() is the
fact that it syncs against work item execution not whether it handles timers
or not.
Let's rename it to less confusing __cancel_work_sync(). No functional
change.
Signed-off-by: Tejun Heo <tj@kernel.org>
Reviewed-by: Lai Jiangshan <jiangshanlai@gmail.com>1 parent d355001 commit c514068
1 file changed
+3
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4075 | 4075 | | |
4076 | 4076 | | |
4077 | 4077 | | |
4078 | | - | |
| 4078 | + | |
4079 | 4079 | | |
4080 | 4080 | | |
4081 | 4081 | | |
| |||
4159 | 4159 | | |
4160 | 4160 | | |
4161 | 4161 | | |
4162 | | - | |
| 4162 | + | |
4163 | 4163 | | |
4164 | 4164 | | |
4165 | 4165 | | |
| |||
4264 | 4264 | | |
4265 | 4265 | | |
4266 | 4266 | | |
4267 | | - | |
| 4267 | + | |
4268 | 4268 | | |
4269 | 4269 | | |
4270 | 4270 | | |
| |||
0 commit comments