Message ID | 1427945681-29972-17-git-send-email-john.stultz@linaro.org |
---|---|
State | New |
Headers | show
Return-Path: <patchwork-forward+bncBCJ7RPMX4EMBBHXS6KUAKGQESOIJM7Y@linaro.org> X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-wi0-f197.google.com (mail-wi0-f197.google.com [209.85.212.197]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 3CFD3216D1 for <linaro@patches.linaro.org>; Thu, 2 Apr 2015 03:35:59 +0000 (UTC) Received: by wibgr10 with SMTP id gr10sf15748872wib.2 for <linaro@patches.linaro.org>; Wed, 01 Apr 2015 20:35:58 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:from:to:cc:subject :date:message-id:in-reply-to:references:sender:precedence:list-id :x-original-sender:x-original-authentication-results:mailing-list :list-post:list-help:list-archive:list-unsubscribe; bh=I6X4LxnGmirz4rvkmaDi7XKw1X6GIvB9XVIzvkSiLOU=; b=dukRGWuTcLdos1wXJRK0UvA+qr9RYtwFQNb92FX33Ryfhich2V5FbaQ4UV9aDhtaw6 Wi5hz/KFhOm2S+xDZVcwV5X1fwY3lGlUcCgWFQTxq412mPMqfQQfBzL/h/jfABRd23kT oECM2dI1psYMd2xefG/FU5TOJUznHufG04agbybrxZZoTCbSvsNm8llH/tWORk64kPa2 qjOKLEtd5HGCh0AJN323sUV+CfHZoqGHEPXY3U9BgsKnRX4wh8TgpL8nYQpzwhnHkJ2J xhih7oG2akzyQhpeRh8APgq0qfhOspxEpvFzsjXvm8/RAsv7w90397f73CQ93ykLLBVP cNTA== X-Gm-Message-State: ALoCoQlTRuZXvRq9tf/NEx0mI3c31S2JG6fVg0OAygznM17FT8X2pdrB5zIDvM5n1X8HZgCk9jbX X-Received: by 10.112.212.33 with SMTP id nh1mr3159655lbc.4.1427945758523; Wed, 01 Apr 2015 20:35:58 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.5.38 with SMTP id p6ls134885lap.17.gmail; Wed, 01 Apr 2015 20:35:58 -0700 (PDT) X-Received: by 10.112.170.100 with SMTP id al4mr38879218lbc.42.1427945758194; Wed, 01 Apr 2015 20:35:58 -0700 (PDT) Received: from mail-lb0-f177.google.com (mail-lb0-f177.google.com. [209.85.217.177]) by mx.google.com with ESMTPS id ld3si2241820lac.175.2015.04.01.20.35.58 for <patchwork-forward@linaro.org> (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 01 Apr 2015 20:35:58 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.177 as permitted sender) client-ip=209.85.217.177; Received: by lbbug6 with SMTP id ug6so50496559lbb.3 for <patchwork-forward@linaro.org>; Wed, 01 Apr 2015 20:35:58 -0700 (PDT) X-Received: by 10.112.141.202 with SMTP id rq10mr38779512lbb.88.1427945758103; Wed, 01 Apr 2015 20:35:58 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.112.57.201 with SMTP id k9csp1063551lbq; Wed, 1 Apr 2015 20:35:57 -0700 (PDT) X-Received: by 10.68.221.41 with SMTP id qb9mr57141789pbc.77.1427945742392; Wed, 01 Apr 2015 20:35:42 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id bf4si5554800pad.106.2015.04.01.20.35.41; Wed, 01 Apr 2015 20:35:42 -0700 (PDT) Received-SPF: none (google.com: linux-kernel-owner@vger.kernel.org does not designate permitted sender hosts) client-ip=209.132.180.67; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753246AbbDBDfY (ORCPT <rfc822;ivan.khoronzhuk@linaro.org> + 27 others); Wed, 1 Apr 2015 23:35:24 -0400 Received: from mail-pa0-f41.google.com ([209.85.220.41]:35483 "EHLO mail-pa0-f41.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752363AbbDBDfG (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Wed, 1 Apr 2015 23:35:06 -0400 Received: by patj18 with SMTP id j18so71307195pat.2 for <linux-kernel@vger.kernel.org>; Wed, 01 Apr 2015 20:35:06 -0700 (PDT) X-Received: by 10.70.91.110 with SMTP id cd14mr84285474pdb.48.1427945706103; Wed, 01 Apr 2015 20:35:06 -0700 (PDT) Received: from localhost.localdomain (c-67-170-153-23.hsd1.or.comcast.net. [67.170.153.23]) by mx.google.com with ESMTPSA id da10sm3572603pac.42.2015.04.01.20.35.04 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 01 Apr 2015 20:35:05 -0700 (PDT) From: John Stultz <john.stultz@linaro.org> To: lkml <linux-kernel@vger.kernel.org> Cc: Xunlei Pang <pang.xunlei@linaro.org>, Peter Zijlstra <peterz@infradead.org>, Thomas Gleixner <tglx@linutronix.de>, Ingo Molnar <mingo@kernel.org>, John Stultz <john.stultz@linaro.org> Subject: [PATCH 16/21] rtc: Remove redundant rtc_valid_tm() from rtc_resume() Date: Wed, 1 Apr 2015 20:34:36 -0700 Message-Id: <1427945681-29972-17-git-send-email-john.stultz@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1427945681-29972-1-git-send-email-john.stultz@linaro.org> References: <1427945681-29972-1-git-send-email-john.stultz@linaro.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: list List-ID: <patchwork-forward.linaro.org> X-Mailing-List: linux-kernel@vger.kernel.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: john.stultz@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.177 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 List-Post: <http://groups.google.com/a/linaro.org/group/patchwork-forward/post>, <mailto:patchwork-forward@linaro.org> List-Help: <http://support.google.com/a/linaro.org/bin/topic.py?topic=25838>, <mailto:patchwork-forward+help@linaro.org> List-Archive: <http://groups.google.com/a/linaro.org/group/patchwork-forward/> List-Unsubscribe: <mailto:googlegroups-manage+836684582541+unsubscribe@googlegroups.com>, <http://groups.google.com/a/linaro.org/group/patchwork-forward/subscribe> |
diff --git a/drivers/rtc/class.c b/drivers/rtc/class.c index 472a5ad..d40760a 100644 --- a/drivers/rtc/class.c +++ b/drivers/rtc/class.c @@ -117,10 +117,6 @@ static int rtc_resume(struct device *dev) return 0; } - if (rtc_valid_tm(&tm) != 0) { - pr_debug("%s: bogus resume time\n", dev_name(&rtc->dev)); - return 0; - } new_rtc.tv_sec = rtc_tm_to_time64(&tm); new_rtc.tv_nsec = 0;