From patchwork Tue Jun 14 18:54:12 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: x86: remove unnecessary century printk when reading RTC Date: Tue, 14 Jun 2011 08:54:12 -0000 From: Bjorn Helgaas X-Patchwork-Id: 100417 Message-Id: <20110614185412.7885.37450.stgit@bhelgaas.mtv.corp.google.com> To: "H. Peter Anvin" Cc: Alessandro Zummo , linux-kernel@vger.kernel.org, rtc-linux@googlegroups.com We shouldn't print the current century every time we read the RTC. Signed-off-by: Bjorn Helgaas --- arch/x86/kernel/rtc.c | 1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/arch/x86/kernel/rtc.c b/arch/x86/kernel/rtc.c index 3f2ad26..ecc1144 100644 --- a/arch/x86/kernel/rtc.c +++ b/arch/x86/kernel/rtc.c @@ -137,7 +137,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;