]> err.no Git - linux-2.6/commit
[PATCH] __mod_timer: simplify ->base changing
authorOleg Nesterov <oleg@tv-sign.ru>
Fri, 31 Mar 2006 10:30:31 +0000 (02:30 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Fri, 31 Mar 2006 20:18:53 +0000 (12:18 -0800)
commita2c348fe0117adced11e374329a5ea3f7c43cb41
tree95233412196f8093e2e82437afeeadd2e479040c
parent3691c5199e8a4be1c7a91b5ab925db5feb866e19
[PATCH] __mod_timer: simplify ->base changing

Since base and new_base are of the same type now, we can save one 'if'
branch and simplify the code a bit.

Signed-off-by: Oleg Nesterov <oleg@tv-sign.ru>
Acked-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
kernel/timer.c