diff options
| author | 2007-05-09 02:34:16 -0700 | |
|---|---|---|
| committer | 2007-05-09 12:30:52 -0700 | |
| commit | 63bc0362521cbaae3ed17b8de7b094f9492453f0 (patch) | |
| tree | 2a1bee6651fe00b76828cf75742bbff221188990 /include/linux/workqueue.h | |
| parent | make queue_delayed_work() friendly to flush_fork() (diff) | |
| download | wireguard-linux-63bc0362521cbaae3ed17b8de7b094f9492453f0.tar.xz wireguard-linux-63bc0362521cbaae3ed17b8de7b094f9492453f0.zip | |
unify queue_delayed_work() and queue_delayed_work_on()
Change queue_delayed_work() to use queue_delayed_work_on() to avoid the code
duplication (saves 133 bytes).
Q: queue_delayed_work() enqueues &dwork->work directly when delay == 0, why?
[jirislaby@gmail.com: oops fix]
Signed-off-by: Oleg Nesterov <oleg@tv-sign.ru>
Signed-off-by: Jiri Slaby <jirislaby@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/linux/workqueue.h')
0 files changed, 0 insertions, 0 deletions
