Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp3913374ybb; Mon, 23 Mar 2020 10:00:19 -0700 (PDT) X-Google-Smtp-Source: ADFU+vs2gr/fP86NIFtifL09fBj/lFVTVEEVZgKfe/fGWoPTvdDIzZOHWPbvZbmyB+b1jrnzuEXS X-Received: by 2002:a05:6830:403d:: with SMTP id i29mr17475973ots.353.1584982819211; Mon, 23 Mar 2020 10:00:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1584982819; cv=none; d=google.com; s=arc-20160816; b=tjsWAc3e4LN+4okrkPAD7EDzLWRdnb6LI7Y9b7DYtl1do0OOLw/npQHexLHvXOMbyO 7KdihE8B3ZV1ylB1oia810nhGnoIluZ3+ps7szxfpjSsLCP3nYhw7SG4yioQPXp3Wfd4 R4jgFVAGA0+hfdgWLogfuM10Su4H0BvyMXJ0CCGbxkkpAsaNj9doA4oq/Z11qqAkL89G EXZBgNdvTHtwPjAFzy5PTscvskwJgtlmwjU2s+Exj92G/3kE/GXQWVV7NRRcmOJwX794 rBHXd9yIZK/73tGVzLtSKMpV2QmVteNLBMtt4qAd4FY2WQkan69/ND1rNVu2P6pdNT1T tmhQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature; bh=MkMZMykbgF51hxSABpWkLu0UuWfliY17yizyDulcCcM=; b=hiwN0TS5bZYKFG7EEIXupLyXlfRRr21Bdg9w4BOrxXVR8URMeJTvqc0YQW0dKRUoGu vwAHnbyZSIobzGzyzsWVNodRQF9cES6mBmbGxiJr45fN0shyTVmqdAbUINjoLlZJ/48O YyxBAFGOBOxENpyKswqmCn1JEypG3fjtkYNuWYTqu/k1LmOwCXZ/7wHVBAkaiqt3hvFW VFrLi3yOMc77Gq/tJrkUQpP8DWyKl7Y2DN8Eme7/u5HPOsBkLgc/jlGRlEOludCIBF+m lFBj0rnzz0OKR59tHOHm/F5uo3+J5GZFLmgMueIZOJvCpRBaUZOXUfNzYvJYJT2WCgdV B6tA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=QCbfDq3o; 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 d21si8033055otq.72.2020.03.23.10.00.04; Mon, 23 Mar 2020 10:00:19 -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=QCbfDq3o; 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 S1727611AbgCWQ7G (ORCPT + 99 others); Mon, 23 Mar 2020 12:59:06 -0400 Received: from mail-pj1-f67.google.com ([209.85.216.67]:55793 "EHLO mail-pj1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727532AbgCWQ7G (ORCPT ); Mon, 23 Mar 2020 12:59:06 -0400 Received: by mail-pj1-f67.google.com with SMTP id mj6so94067pjb.5; Mon, 23 Mar 2020 09:59:05 -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; bh=MkMZMykbgF51hxSABpWkLu0UuWfliY17yizyDulcCcM=; b=QCbfDq3oGRPAht0bz7pdwG+/s7C98PKYTgvx+f2gGttgL3j94ZBhT9VL1y3AyXV2/t YK7CFNjn8ohLePWY6p3fS6YkesPObEjKA3jkqdzqutT8VwWUDnjTs92sPrkjc/G+GgNN 1tKm/ocwkDewgY5mWDLBTr+vk1IlAJ9yic4vGuDDthow5Du1/P97gVz3yLk9/YpgVqHI 3668lPUzzGJe6Cbzk7nQXaWtPgzDVjyi7IuPzF8PyOq1zJqX9eiAb1hSE9gwGCu1054O m1NyTfperrPY+PxgKI+bTeGN3FtJxIUkTsRJC+GHkgRmye2C/lvH5Cs10amyOvTuR41G bYKg== 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; bh=MkMZMykbgF51hxSABpWkLu0UuWfliY17yizyDulcCcM=; b=tFIPoNsi3K+Oy7/LD9vdMn9Q398jsspGkSNPhlIgzxecEXfXfxBI9pxU1pmR66BhBs OcuZmVjYlaj6z7i0rimzRr7ic42b/eKbEmYrgSdXOZ6FZQd0b1AFS5KokI2HeUe8Prxp zF8gPdEx7xYSVddqh+KP7O628rrZ1UTIO2NeWSWMjI7ohiNOIcHgsV8O9eZVDidd0q9m JH1kvDpPzjyqLr9KPUXfAbh9MeElj3CiHieKhEUKYe/Ky/yB123wxcOCj4FvWO0jlnPY uv/v/ftNVF64kBn+kCB3GslZum7n3H4+511YuSok8sK4InvpuNHyBeFBJFk1GzMDRFKW 4t6A== X-Gm-Message-State: ANhLgQ1HbgaV8EG/mmvw0ZWFhWSQnPVXpRWGFq02svvicKi/YCDMSd28 VCiHkS4qb0iyN+uuq/1IVv4EW3D/hD4= X-Received: by 2002:a17:902:a9c9:: with SMTP id b9mr6852442plr.274.1584982745320; Mon, 23 Mar 2020 09:59:05 -0700 (PDT) Received: from VM_0_35_centos.localdomain ([150.109.62.251]) by smtp.gmail.com with ESMTPSA id u5sm13820361pfb.153.2020.03.23.09.59.03 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 23 Mar 2020 09:59:04 -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 -next] rtc: remove set but not used variable 'np' Date: Tue, 24 Mar 2020 00:59:01 +0800 Message-Id: <1584982741-648-1-git-send-email-hqjagain@gmail.com> X-Mailer: git-send-email 1.8.3.1 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