]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit4ddc9c512f195b7691ae776e8511015721624c43
treea5812f9b077d7faf00f82969a9bd766e97ecfd97
parent3c73529b840e520c5dbc4b7a382cd64098242545
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