]> Git Repo - linux.git/commitdiff
x86/time/rtc: Don't print extended CMOS year when reading RTC
authorBjorn Helgaas <[email protected]>
Fri, 4 Jan 2013 22:41:47 +0000 (15:41 -0700)
committerIngo Molnar <[email protected]>
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 <[email protected]>
Acked-by: Thomas Gleixner <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
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;
 
This page took 0.056462 seconds and 4 git commands to generate.