Skip to content

Commit

Permalink
x86/time/rtc: Don't print extended CMOS year when reading RTC
Browse files Browse the repository at this point in the history
We shouldn't print the current century every time we read the
RTC.

Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Acked-by: Thomas Gleixner <tglx@linutronix.de>
Link: http://lkml.kernel.org/r/20130104224146.15189.14874.stgit@bhelgaas.mtv.corp.google.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
  • Loading branch information
Bjorn Helgaas authored and Ingo Molnar committed Jan 24, 2013
1 parent ff7532c commit 6125bc8
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion arch/x86/kernel/rtc.c
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,6 @@ unsigned long mach_get_cmos_time(void)
if (century) {
century = bcd2bin(century);
year += century * 100;
printk(KERN_INFO "Extended CMOS year: %d\n", century * 100);
} else
year += CMOS_YEARS_OFFS;

Expand Down

0 comments on commit 6125bc8

Please sign in to comment.