workqueue: remove redundant function invocation
authorAndrew Liu <shengping.liu@windriver.com>
Thu, 1 May 2008 11:35:14 +0000 (04:35 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 1 May 2008 15:04:02 +0000 (08:04 -0700)
commit8a3e77cc212f3bc8eccc95e0d046405cf2a02764
treea5812f9b077d7faf00f82969a9bd766e97ecfd97
parent55e462b05b5df4fd113c4a304c4f487d44b0898e
workqueue: remove redundant function invocation

timer_stats_timer_set_start_info is invoked twice, additionally, the
invocation of this function can be moved to where it is only called when a
delay is really required.

Signed-off-by: Andrew Liu <shengping.liu@windriver.com>
Cc: Pavel Machek <pavel@ucw.cz>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Oleg Nesterov <oleg@tv-sign.ru>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
kernel/workqueue.c