diff options
author | Cesar Eduardo Barros <cesarb@cesarb.net> | 2012-02-11 14:54:59 -0500 |
---|---|---|
committer | John Stultz <john.stultz@linaro.org> | 2012-03-23 19:25:20 -0400 |
commit | 335dd85895abeca1957d5eaa3013dfe8dc60c7d7 (patch) | |
tree | 7ab7ae63376047f6b9fb05b98db6d8ef252c1b5e /kernel/time | |
parent | e919cfd42da54d400e7e0385f22cae3672dcf874 (diff) |
time: remove no_sync_cmos_clock
Commit 9863c90f682fba34cdc26c3437e8c00da6c83fa4 (x86, vmware: Remove
deprecated VMI kernel support) removed the only place which set
no_sync_cmos_clock. Since that commit, this variable is never set.
Signed-off-by: Cesar Eduardo Barros <cesarb@cesarb.net>
Signed-off-by: John Stultz <john.stultz@linaro.org>
Diffstat (limited to 'kernel/time')
-rw-r--r-- | kernel/time/ntp.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/kernel/time/ntp.c b/kernel/time/ntp.c index 3d17ebd47fa2..f03fd83b170b 100644 --- a/kernel/time/ntp.c +++ b/kernel/time/ntp.c | |||
@@ -483,9 +483,6 @@ out: | |||
483 | 483 | ||
484 | #ifdef CONFIG_GENERIC_CMOS_UPDATE | 484 | #ifdef CONFIG_GENERIC_CMOS_UPDATE |
485 | 485 | ||
486 | /* Disable the cmos update - used by virtualization and embedded */ | ||
487 | int no_sync_cmos_clock __read_mostly; | ||
488 | |||
489 | static void sync_cmos_clock(struct work_struct *work); | 486 | static void sync_cmos_clock(struct work_struct *work); |
490 | 487 | ||
491 | static DECLARE_DELAYED_WORK(sync_cmos_work, sync_cmos_clock); | 488 | static DECLARE_DELAYED_WORK(sync_cmos_work, sync_cmos_clock); |
@@ -532,8 +529,7 @@ static void sync_cmos_clock(struct work_struct *work) | |||
532 | 529 | ||
533 | static void notify_cmos_timer(void) | 530 | static void notify_cmos_timer(void) |
534 | { | 531 | { |
535 | if (!no_sync_cmos_clock) | 532 | schedule_delayed_work(&sync_cmos_work, 0); |
536 | schedule_delayed_work(&sync_cmos_work, 0); | ||
537 | } | 533 | } |
538 | 534 | ||
539 | #else | 535 | #else |