From patchwork Tue Jun 14 18:54:12 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bjorn Helgaas X-Patchwork-Id: 100417 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from mail-yi0-f56.google.com (mail-yi0-f56.google.com [209.85.218.56]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority" (verified OK)) by ozlabs.org (Postfix) with ESMTPS id 7F2EBB6F71 for ; Wed, 15 Jun 2011 04:54:28 +1000 (EST) Received: by yie16 with SMTP id 16sf5712258yie.11 for ; Tue, 14 Jun 2011 11:54:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=beta; h=domainkey-signature:x-beenthere:received-spf:subject:to:from:cc :date:message-id:user-agent:mime-version:x-original-sender :x-original-authentication-results:reply-to:precedence:mailing-list :list-id:x-google-group-id:list-post:list-help:list-archive:sender :list-subscribe:list-unsubscribe:content-type; bh=OizFts35Z6MLb7KUmertih0GLKj4Giy3zbsex42s/Qw=; b=eVAXE9M124vtPiEbV4wXGXYMaMJhgJ0JdAdAkGtfbURPgRIyYxo59+tFR0jCOFuUjC aR3rhONVhyb0fmHc8ERW8mYpsopnL/6rPuugrcGWM2DgxdtrybSsJDjiXkIuSLv1RS23 d9C/C/oIya3ON0Bgv+STTDz+qOxbEuIOBssvY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlegroups.com; s=beta; h=x-beenthere:received-spf:subject:to:from:cc:date:message-id :user-agent:mime-version:x-original-sender :x-original-authentication-results:reply-to:precedence:mailing-list :list-id:x-google-group-id:list-post:list-help:list-archive:sender :list-subscribe:list-unsubscribe:content-type; b=R2oNzVWfyUU0P/qwynfs8x89QL4BN8VaFv2gvyUtnzR40fn/vgGwWfS2t+2QcfOKq1 w8/dWYeBPpGunI9bGuv/rRAnlRpjO+pmaMTveHYRhRsbUmjoBIr+oKSqbeJuQrernyPn AjNVVTySZPb9WOyJ1F0f4K3W7KN3zON0aPhjM= Received: by 10.236.144.230 with SMTP id n66mr624705yhj.77.1308077664678; Tue, 14 Jun 2011 11:54:24 -0700 (PDT) X-BeenThere: rtc-linux@googlegroups.com Received: by 10.101.207.27 with SMTP id j27ls956207anq.0.gmail; Tue, 14 Jun 2011 11:54:24 -0700 (PDT) Received: by 10.100.233.18 with SMTP id f18mr3338018anh.10.1308077664118; Tue, 14 Jun 2011 11:54:24 -0700 (PDT) Received: by 10.100.233.18 with SMTP id f18mr3338016anh.10.1308077664100; Tue, 14 Jun 2011 11:54:24 -0700 (PDT) Received: from smtp-out.google.com (wpay11.hot.corp.google.com [172.24.198.11]) by gmr-mx.google.com with ESMTPS id v1si7264244anh.2.2011.06.14.11.54.24 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 14 Jun 2011 11:54:24 -0700 (PDT) Received-SPF: pass (google.com: domain of bhelgaas@google.com designates 172.24.198.11 as permitted sender) Received: from hpaq11.eem.corp.google.com (hpaq11.eem.corp.google.com [172.25.149.11]) by smtp-out.google.com with ESMTP id p5EIsIXf007915; Tue, 14 Jun 2011 11:54:19 -0700 Received: from bhelgaas.mtv.corp.google.com (bhelgaas.mtv.corp.google.com [172.18.96.155]) by hpaq11.eem.corp.google.com with ESMTP id p5EIsCoX019689; Tue, 14 Jun 2011 11:54:13 -0700 Received: from bhelgaas.mtv.corp.google.com (unknown [IPv6:::1]) by bhelgaas.mtv.corp.google.com (Postfix) with ESMTP id 68BFA206F3; Tue, 14 Jun 2011 11:54:12 -0700 (PDT) Subject: [rtc-linux] [PATCH] x86: remove unnecessary century printk when reading RTC To: "H. Peter Anvin" From: Bjorn Helgaas Cc: Alessandro Zummo , linux-kernel@vger.kernel.org, rtc-linux@googlegroups.com Date: Tue, 14 Jun 2011 12:54:12 -0600 Message-ID: <20110614185412.7885.37450.stgit@bhelgaas.mtv.corp.google.com> User-Agent: StGit/0.15 MIME-Version: 1.0 X-Original-Sender: bhelgaas@google.com X-Original-Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of bhelgaas@google.com designates 172.24.198.11 as permitted sender) smtp.mail=bhelgaas@google.com; dkim=pass (test mode) header.i=@google.com Reply-To: rtc-linux@googlegroups.com Precedence: list Mailing-list: list rtc-linux@googlegroups.com; contact rtc-linux+owners@googlegroups.com List-ID: X-Google-Group-Id: 712029733259 List-Post: , List-Help: , List-Archive: Sender: rtc-linux@googlegroups.com List-Subscribe: , List-Unsubscribe: , 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;