commit | 63bc0362521cbaae3ed17b8de7b094f9492453f0 | [log] [tgz] |
---|---|---|
author | Oleg Nesterov <oleg@tv-sign.ru> | Wed May 09 02:34:16 2007 -0700 |
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | Wed May 09 12:30:52 2007 -0700 |
tree | 2a1bee6651fe00b76828cf75742bbff221188990 | |
parent | ed7c0feede39d70092d048ec30f59bb1df69eec6 [diff] |
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>