提交 6125bc8b 编写于 作者: B Bjorn Helgaas 提交者: Ingo Molnar

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: NBjorn Helgaas <bhelgaas@google.com>
Acked-by: NThomas Gleixner <tglx@linutronix.de>
Link: http://lkml.kernel.org/r/20130104224146.15189.14874.stgit@bhelgaas.mtv.corp.google.comSigned-off-by: NIngo Molnar <mingo@kernel.org>
上级 ff7532ca
......@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册