summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBjorn Helgaas <bhelgaas@google.com>2013-01-04 15:41:47 -0700
committerIngo Molnar <mingo@kernel.org>2013-01-24 14:56:35 +0100
commit6125bc8b86d9da75ddac77e38f41afbf9f5de3e3 (patch)
treed4e955293d06e331929f055d17e28fbaec44c59a
parentff7532ca2c631e7e96dcd305a967b610259dc0ea (diff)
downloadop-kernel-dev-6125bc8b86d9da75ddac77e38f41afbf9f5de3e3.zip
op-kernel-dev-6125bc8b86d9da75ddac77e38f41afbf9f5de3e3.tar.gz
x86/time/rtc: Don't print extended CMOS year when reading RTC
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>
-rw-r--r--arch/x86/kernel/rtc.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/x86/kernel/rtc.c b/arch/x86/kernel/rtc.c
index 801602b..2e8f3d3 100644
--- a/arch/x86/kernel/rtc.c
+++ b/arch/x86/kernel/rtc.c
@@ -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;
OpenPOWER on IntegriCloud