From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.8 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 99A62C4332E for ; Mon, 23 Mar 2020 08:28:57 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 7BD142072E for ; Mon, 23 Mar 2020 08:28:57 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727613AbgCWI24 (ORCPT ); Mon, 23 Mar 2020 04:28:56 -0400 Received: from relay6-d.mail.gandi.net ([217.70.183.198]:34865 "EHLO relay6-d.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727544AbgCWI2z (ORCPT ); Mon, 23 Mar 2020 04:28:55 -0400 X-Originating-IP: 86.202.105.35 Received: from localhost (lfbn-lyo-1-9-35.w86-202.abo.wanadoo.fr [86.202.105.35]) (Authenticated sender: alexandre.belloni@bootlin.com) by relay6-d.mail.gandi.net (Postfix) with ESMTPSA id C95D3C000F; Mon, 23 Mar 2020 08:28:53 +0000 (UTC) Date: Mon, 23 Mar 2020 09:28:53 +0100 From: Alexandre Belloni To: Peng Ma Cc: a.zummo@towertech.it, linux-rtc@vger.kernel.org, linux-kernel@vger.kernel.org, leoyang.li@nxp.com, ran.wang_1@nxp.com, biwen.li@nxp.com Subject: Re: [PATCH] rtc: fsl-ftm-alarm: remove the useless variable Message-ID: <20200323082853.GW5504@piout.net> References: <20200323072956.38263-1-peng.ma@nxp.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200323072956.38263-1-peng.ma@nxp.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 23/03/2020 15:29:56+0800, Peng Ma wrote: > Remove the useless variable to fixed the below build warning: > drivers/rtc/rtc-fsl-ftm-alarm.c: In function 'ftm_rtc_probe': > drivers/rtc/rtc-fsl-ftm-alarm.c:246:22: warning: unused variable 'np' [-Wunused-variable] > struct device_node *np = pdev->dev.of_node; > > Signed-off-by: Peng Ma > --- > drivers/rtc/rtc-fsl-ftm-alarm.c | 1 - > 1 file changed, 1 deletion(-) > I squashed it in the offending commit. -- Alexandre Belloni, Bootlin Embedded Linux and Kernel engineering https://bootlin.com