x86/time/rtc: Don't print extended CMOS year when reading RTC
authorBjorn Helgaas <bhelgaas@google.com>
Fri, 4 Jan 2013 22:41:47 +0000 (15:41 -0700)
committerIngo Molnar <mingo@kernel.org>
Thu, 24 Jan 2013 13:56:35 +0000 (14:56 +0100)
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>
arch/x86/kernel/rtc.c

index 801602b5d745adeb1eb892294588bbcb8de1a88d..2e8f3d3b56410a0eb10bbc0fe1d18877a46ff2fc 100644 (file)
@@ -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;