mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-27 09:02:06 +00:00
time: remove no_sync_cmos_clock
Commit 9863c90f68
(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>
This commit is contained in:
parent
e919cfd42d
commit
335dd85895
2 changed files with 1 additions and 6 deletions
|
@ -116,7 +116,6 @@ static inline struct timespec timespec_sub(struct timespec lhs,
|
||||||
extern void read_persistent_clock(struct timespec *ts);
|
extern void read_persistent_clock(struct timespec *ts);
|
||||||
extern void read_boot_clock(struct timespec *ts);
|
extern void read_boot_clock(struct timespec *ts);
|
||||||
extern int update_persistent_clock(struct timespec now);
|
extern int update_persistent_clock(struct timespec now);
|
||||||
extern int no_sync_cmos_clock __read_mostly;
|
|
||||||
void timekeeping_init(void);
|
void timekeeping_init(void);
|
||||||
extern int timekeeping_suspended;
|
extern int timekeeping_suspended;
|
||||||
|
|
||||||
|
|
|
@ -483,9 +483,6 @@ out:
|
||||||
|
|
||||||
#ifdef CONFIG_GENERIC_CMOS_UPDATE
|
#ifdef CONFIG_GENERIC_CMOS_UPDATE
|
||||||
|
|
||||||
/* Disable the cmos update - used by virtualization and embedded */
|
|
||||||
int no_sync_cmos_clock __read_mostly;
|
|
||||||
|
|
||||||
static void sync_cmos_clock(struct work_struct *work);
|
static void sync_cmos_clock(struct work_struct *work);
|
||||||
|
|
||||||
static DECLARE_DELAYED_WORK(sync_cmos_work, sync_cmos_clock);
|
static DECLARE_DELAYED_WORK(sync_cmos_work, sync_cmos_clock);
|
||||||
|
@ -532,7 +529,6 @@ static void sync_cmos_clock(struct work_struct *work)
|
||||||
|
|
||||||
static void notify_cmos_timer(void)
|
static void notify_cmos_timer(void)
|
||||||
{
|
{
|
||||||
if (!no_sync_cmos_clock)
|
|
||||||
schedule_delayed_work(&sync_cmos_work, 0);
|
schedule_delayed_work(&sync_cmos_work, 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue