Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp704924yba; Fri, 3 May 2019 09:08:55 -0700 (PDT) X-Google-Smtp-Source: APXvYqxywY0zXK67u6Bb1OfWS4zw679A5UXNcmNdO/y4AEuoQCKF8fl/ZUx3eGECagL/vfXpCNFz X-Received: by 2002:a62:ee17:: with SMTP id e23mr12000009pfi.80.1556899735158; Fri, 03 May 2019 09:08:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1556899735; cv=none; d=google.com; s=arc-20160816; b=HrFP1LWZLpXhRCcME5mmrSqX0cYxSS1EW8eMaCAAHYqz/n1kOgvyAyVnDBzZylRpiI h9E6Yy6EMRvEb5Nyb+2HxnTxrcnsIkzTDZtqI/lzPMQ0j87HlbKT3oAitoONFH3MYJ1O 8FZ9xSoH9XX8SxWcWJpzsWK/7DH0lkxevOdXo2WY7BmqW9FNyxQzldJITKJGC74liXvk Q7eZk0JFucw7Ar85pDUbt0Lv7fqvV6WsZ1qZXvQXWKR0IqHd91BqXoHAWCQcl6iaA9H+ ci24ycr/69Z+W3iwsSrQgCEnEov22YvmNWllaQtwEEf2mtLy1a+0srDYOlhRF/ReiMR9 iNYA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-transfer-encoding:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=1ovIMkK7qwjA8XxjzuMVd+9HRLITFhDeveuvPvxFSoM=; b=S76GcV8cp/fGG/c1S6sAaW54QaVNkd6ejM6h61PkoVN9doBVuaqqely+bN7XUwOnu0 qWo8AGRr8VcRnlodlFvVFt2TixsGQh71zv07R4ugiz0fgVW2vxYf7xNmLJvL001QweZ2 wt3YT0Qax4K5LMi2UTjbAGnbcZgt8UJM1xjWR3PwMAiE9NmPSE2JE9+4BJRsQtSe0Jlg Stejo47u4UdvWbkbjDK+uj8D2Vxs41KTmWZVEhQ6ioYvxAZfoYhuMr+PrJJocufaoS2k A5nRRvsct7ziBQ65Eaok5MbHv4Wzgblrw77Z0Qk7QQLW5F+Qe5pUqjbV2vPf6WqIyB4u Go+w== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id q12si2765540pgh.594.2019.05.03.09.08.38; Fri, 03 May 2019 09:08:55 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728199AbfECPxG (ORCPT + 99 others); Fri, 3 May 2019 11:53:06 -0400 Received: from relay6-d.mail.gandi.net ([217.70.183.198]:54449 "EHLO relay6-d.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726561AbfECPxG (ORCPT ); Fri, 3 May 2019 11:53:06 -0400 X-Originating-IP: 90.66.53.80 Received: from localhost (lfbn-1-3034-80.w90-66.abo.wanadoo.fr [90.66.53.80]) (Authenticated sender: alexandre.belloni@bootlin.com) by relay6-d.mail.gandi.net (Postfix) with ESMTPSA id ECAF2C000E; Fri, 3 May 2019 15:53:02 +0000 (UTC) Date: Fri, 3 May 2019 17:53:02 +0200 From: Alexandre Belloni To: Anders Roxell Cc: a.zummo@towertech.it, shawnguo@kernel.org, s.hauer@pengutronix.de, linux-rtc@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] rtc: imxdi: remove unused variable Message-ID: <20190503155302.GF22550@piout.net> References: <20190503154217.13205-1-anders.roxell@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20190503154217.13205-1-anders.roxell@linaro.org> User-Agent: Mutt/1.11.4 (2019-03-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 03/05/2019 17:42:17+0200, Anders Roxell wrote: > This variable is no longer used and the compiler rightly complains that > it should be removed. > > ../drivers/rtc/rtc-imxdi.c: In function ‘dryice_rtc_set_alarm’: > ../drivers/rtc/rtc-imxdi.c:633:16: warning: unused variable ‘now’ [-Wunused-variable] > unsigned long now; > ^~~ > > Rework to remove the unused variable. > > Fixes: 629d488a3eb6 ("rtc: imxdi: remove unnecessary check") > Signed-off-by: Anders Roxell > --- > drivers/rtc/rtc-imxdi.c | 1 - > 1 file changed, 1 deletion(-) > Applied, thanks. -- Alexandre Belloni, Bootlin Embedded Linux and Kernel engineering https://bootlin.com