Explorar o código

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>
Bjorn Helgaas %!s(int64=12) %!d(string=hai) anos
pai
achega
6125bc8b86
Modificáronse 1 ficheiros con 0 adicións e 1 borrados
  1. 0 1
      arch/x86/kernel/rtc.c

+ 0 - 1
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;