Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp3918381ybb; Mon, 23 Mar 2020 10:04:42 -0700 (PDT) X-Google-Smtp-Source: ADFU+vtrhKIsNcNu/w7g1GdvI+ncPhvkoKPHvj+Qz/uNSJBLYO19B4BCgVQACTRRkqFxHajwgV+1 X-Received: by 2002:a9d:6c4c:: with SMTP id g12mr3820531otq.351.1584983082620; Mon, 23 Mar 2020 10:04:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1584983082; cv=none; d=google.com; s=arc-20160816; b=jSqoqC484jdjBP2gsQH3l9kP32chpozOcC83MVxCUDITzR9PSb1aCcuyb7X/cRljic CeSJAZqcYv+8upAgz/o4Cb00/lMWkyzajEVHeebFE2eKgYfIQIIZ+Wtvu2NoO0LzgG/r NUkDSSAnQAJSMWoVl4OsbXuw/juLprBRVVrzhQ4/Ybk5TlsFq2DmHS66NDLSDlIXlwzz 1AqyN6Dg7e70rFoDASh6uZCL5Fq1VdXDxseJAomoJARA80wS42Ty+umH+IDZ5XFCnm5x sl6vP3cQkJQuK1iCf28cZOml6DLExBb2e+j8LmC3hicIb2ggvlLMnmqerrDiPSFnJBhB hsHA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=r44Yp9/fYImLy99hsOf6+RWpCmYIpfxp429+aFH1H4A=; b=LTzD9su74T7zinlyk4fhLEPedGBCz0w9Vw5pmL9ZbB9XsOW+qrIMvGW6YYSNkfq6c8 oZjWYNbJqSiLWT4KFoUd34UBN0uyCmFHlDgBMt71Vz3t/xjd6YvSEAwyRuy8pUcV5p5K plBA62i9/Mm58p6KIJInz9a7DOlgYs91WSrZF2j1ojGPMJ5WALUZ9UxCcS+7HkdA1i9+ Ey+AEg+EhYTEnGgiUR69DpAX55zmTFqoqxuK/XIcY+4+W8sgPK2mOHlH0ZhIFY4g/Kzx rTNqqWRzz8q4TgGZsW1SySP7c2Kb5ilZe58t1jqfhWN5Dc6t+GlPHjbtyfL3vLKzfUJ6 6mSA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=vb7hJxbw; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 18si7779011oin.182.2020.03.23.10.04.25; Mon, 23 Mar 2020 10:04:42 -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; dkim=pass header.i=@gmail.com header.s=20161025 header.b=vb7hJxbw; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727650AbgCWRD2 (ORCPT + 99 others); Mon, 23 Mar 2020 13:03:28 -0400 Received: from mail-pj1-f67.google.com ([209.85.216.67]:51375 "EHLO mail-pj1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727067AbgCWRD1 (ORCPT ); Mon, 23 Mar 2020 13:03:27 -0400 Received: by mail-pj1-f67.google.com with SMTP id hg10so111662pjb.1; Mon, 23 Mar 2020 10:03:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=r44Yp9/fYImLy99hsOf6+RWpCmYIpfxp429+aFH1H4A=; b=vb7hJxbw4mlMzCJAwOKjdYjz+0OjfSGZPZRHTTkhj9ot5JSGvJ6s6qFhsb9HUsdWPp Cx8y+0L/GwYe9bMNfVP3RmCAf4u57XY42Sh4UzhPR4sMRqzIFowPyNtgiBn0ITUmw9i1 8o0XNz3ARd5TJdbXfj81ynKOTLb1vR+NJ+jAvlG16lndyo63NAOBA6TLkYj+i5xvCLMA KtS6G7NnXIhNRpS7YE7TUVFULJPZ4xKe+oAGhVkQb4b5x27qHJA1drXX8XzLa0fd9OnK NR3mkGMAnuYtJRN3b2HMD9IcOSw0gxP85rxFRqxhKsvU9WcxZtlob4aJ8ZVjNQ8B/3hj d9vw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=r44Yp9/fYImLy99hsOf6+RWpCmYIpfxp429+aFH1H4A=; b=AhgQgqxKOIfaAx7AiLD0GyyKq4SwESlLYeZOUiLIFwzKb/Zgm0YRxA/Eca71GxoCAh rODAeBaqv1kftD5g7PN/WFtE0BFX7eIi87R8LJiF/3uAeHSvfOcgTGYbuyqV90PHX5cr lgysdjsaAkRvCEZy+k2oidsJWeMOxsUA5iHUMBx6JztHF3VCxny/0AewtTIkeUDHtOai X8x3zIlQ5Shs7jPOb5O4tLFL3il7gPh1mLaI8mM2kCzPjGOX9O3m/MQGoCoCwwL3V35c Huw7OXNq2fFjUaR6wYtkWQbwBlkslblTEW89L7fvtTjfZIMTCStP/uCegjIMlvE9oMCp Lflw== X-Gm-Message-State: ANhLgQ1LwGoRzZS+ngt20k/PT3k3n/yrGxrTn3GmOzFMfHe7lHRE7dV0 XstgvqejJ4hGJUu7tNoPAdeh+wGL26Q= X-Received: by 2002:a17:90a:252b:: with SMTP id j40mr266848pje.189.1584983006597; Mon, 23 Mar 2020 10:03:26 -0700 (PDT) Received: from VM_0_35_centos.localdomain ([150.109.62.251]) by smtp.gmail.com with ESMTPSA id o65sm7386680pfg.187.2020.03.23.10.03.25 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 23 Mar 2020 10:03:26 -0700 (PDT) From: Qiujun Huang To: a.zummo@towertech.it, alexandre.belloni@bootlin.com Cc: linux-rtc@vger.kernel.org, linux-kernel@vger.kernel.org, Qiujun Huang Subject: [PATCH RESEND -next] rtc: remove set but not used variable 'np' Date: Tue, 24 Mar 2020 01:03:18 +0800 Message-Id: <1584982998-1341-1-git-send-email-hqjagain@gmail.com> X-Mailer: git-send-email 1.8.3.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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; commit cd49b579e705 ("rtc: fsl-ftm-alarm: enable acpi support") involved this unused variable, remove it. Signed-off-by: Qiujun Huang --- drivers/rtc/rtc-fsl-ftm-alarm.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/rtc/rtc-fsl-ftm-alarm.c b/drivers/rtc/rtc-fsl-ftm-alarm.c index c572044..0f4142b 100644 --- a/drivers/rtc/rtc-fsl-ftm-alarm.c +++ b/drivers/rtc/rtc-fsl-ftm-alarm.c @@ -243,7 +243,6 @@ static int ftm_rtc_set_alarm(struct device *dev, struct rtc_wkalrm *alm) static int ftm_rtc_probe(struct platform_device *pdev) { - struct device_node *np = pdev->dev.of_node; int irq; int ret; struct ftm_rtc *rtc; -- 1.8.3.1