diff options
author | Li Zefan <lizf@cn.fujitsu.com> | 2008-02-08 13:19:23 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2008-02-08 18:22:29 +0100 |
commit | 818c357802e2791880057fe752dc9ce9e210f772 (patch) | |
tree | 3694d26a887fea0cb96e843177d3281bc1cc7ef6 /kernel/time/clocksource.c | |
parent | Get rid of the kill_pgrp_info() function (diff) | |
download | linux-818c357802e2791880057fe752dc9ce9e210f772.tar.xz linux-818c357802e2791880057fe752dc9ce9e210f772.zip |
clocksource: remove redundant code
Flag CLOCK_SOURCE_WATCHDOG is cleared twice. Note clocksource_change_rating()
won't do anyting with the cs flag.
Signed-off-by: Li Zefan <lizf@cn.fujitsu.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: john stultz <johnstul@us.ibm.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to '')
-rw-r--r-- | kernel/time/clocksource.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/kernel/time/clocksource.c b/kernel/time/clocksource.c index 81afb3927ecc..548c436a776b 100644 --- a/kernel/time/clocksource.c +++ b/kernel/time/clocksource.c @@ -91,7 +91,6 @@ static void clocksource_ratewd(struct clocksource *cs, int64_t delta) cs->name, delta); cs->flags &= ~(CLOCK_SOURCE_VALID_FOR_HRES | CLOCK_SOURCE_WATCHDOG); clocksource_change_rating(cs, 0); - cs->flags &= ~CLOCK_SOURCE_WATCHDOG; list_del(&cs->wd_list); } |