Skip to contentSkip to conversation

x86: Don't print extended CMOS year when reading RTC

PATCH In review Bjorn Helgaas 1 participant 2 messages Jan 4, 2013 – Jan 24, 2013 x86

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 x86: Don't print extended CMOS year when reading RTC

We shouldn't print the current century every time we read the RTC.

---
 arch/x86/kernel/rtc.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
arch/x86/kernel/rtc.c +0 -1
index 801602b..2e8f3d3 100644
@@ -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;
 
#1 lore raw

[tip:timers/core] x86/time/rtc: Don' t print extended CMOS year when reading RTC

Commit-ID:  6125bc8b86d9da75ddac77e38f41afbf9f5de3e3
Gitweb:     http://git.kernel.org/tip/6125bc8b86d9da75ddac77e38f41afbf9f5de3e3
Author:     Bjorn Helgaas <[email protected]>
AuthorDate: Fri, 4 Jan 2013 15:41:47 -0700
Committer:  Ingo Molnar <[email protected]>
CommitDate: Thu, 24 Jan 2013 14:56:35 +0100

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.

---
 arch/x86/kernel/rtc.c | 1 -
 1 file changed, 1 deletion(-)
arch/x86/kernel/rtc.c +0 -1
index 801602b..2e8f3d3 100644
@@ -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;