From patchwork Wed Dec 6 14:13:06 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 120846 Delivered-To: patch@linaro.org Received: by 10.140.22.227 with SMTP id 90csp7107360qgn; Wed, 6 Dec 2017 06:13:34 -0800 (PST) X-Google-Smtp-Source: AGs4zMYtwP7wiRGmISKlTnE8vw9dWop9RnHwkHmdweEAh2W6dbQOZXkinSYUnFr+0ZW3YydTNAih X-Received: by 10.84.130.33 with SMTP id 30mr5794999plc.379.1512569614867; Wed, 06 Dec 2017 06:13:34 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1512569614; cv=none; d=google.com; s=arc-20160816; b=GJ8vsgkpiENz9qrYZoaJeKvTfkuDDQIe6uJq0321BOjCrWV7Ydz49idaBcwWANL/Op 2a8eSKUQO0gXycL1yrlVvK5CurF1lmegxqPsGoAlP7uNX0F7wXwKlMiDHyca6K1AZrVq 9oH47ZOF/STJg+BcGMU0F9ZHMmRba5nS1JCH3kf1SlJuZAK14XxHBpCoEp/kyYbxoP2D B7QRBn5+YT6iVIOumHJXWfVvnJ2kGbs7a1GmuMfTW4lwoh1vXw+xMfDOtph4m0ILslcY 8rEu/0AME3Bf72nAv2PweDsg6bTlK+K181I9dBoFeSRoQ/74zt6DF0oQnto2ilf2nUkI Dlnw== 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 :arc-authentication-results; bh=eyE9faaGTnvkITLT+Sz5A4wYHkOQoFUwT8AZM8DHMTc=; b=GtLI2DAy3ka/A1Ve4UYx+C1FOZWl/74wpYE5UNwrDw9gejpSftfHjzHHPS8nlqBSBo gDIbsMyDz5dL3fpyCBEbbZwz+uCY6CXqv0+OOoewmPzkh4V4f6ZuYOPF5yWQj4ejOjOo 1PfZYx+e3JIRE3YCNcpPc4hg9+xYio75QeYWkSN6iF3UWz/BH38zbTgIILCLoyQ+OlD/ WxXxYhP+8IcYCwzK9Xb6uKnk0ILFAWhp6mxiywLt5j6p625+EVB+8Rghr+3/5bMt/Z2T PfSb6cj+Ip7iV3/ynJ2yQHFXwulFiHNgbywR2LqTKGadE2WMdUGnAFjDj0uYDCgrLZbT F1VQ== 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 e17si2176285pfd.398.2017.12.06.06.13.34; Wed, 06 Dec 2017 06:13:34 -0800 (PST) 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 S1752427AbdLFONc (ORCPT + 28 others); Wed, 6 Dec 2017 09:13:32 -0500 Received: from mout.kundenserver.de ([217.72.192.74]:50195 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752211AbdLFONb (ORCPT ); Wed, 6 Dec 2017 09:13:31 -0500 Received: from wuerfel.lan ([149.172.96.106]) by mrelayeu.kundenserver.de (mreue103 [212.227.15.145]) with ESMTPA (Nemesis) id 0MQ8It-1eQ8pD0CKB-005GAd; Wed, 06 Dec 2017 15:13:24 +0100 From: Arnd Bergmann To: Santosh Shilimkar Cc: Arnd Bergmann , Tony Lindgren , Dave Gerlach , linux-kernel@vger.kernel.org Subject: [PATCH] memory: ti-emif-sram: remove unused variable Date: Wed, 6 Dec 2017 15:13:06 +0100 Message-Id: <20171206141322.598156-1-arnd@arndb.de> X-Mailer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TinGsVVXA== Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The newly introduced driver causes a harmless warning for a variable that was evidently never used: drivers/memory/ti-emif-pm.c: In function 'ti_emif_remove': drivers/memory/ti-emif-pm.c:303:17: error: unused variable 'dev' [-Werror=unused-variable] Fixes: 8428e5ad750d ("memory: ti-emif-sram: introduce relocatable suspend/resume handlers") Signed-off-by: Arnd Bergmann --- drivers/memory/ti-emif-pm.c | 1 - 1 file changed, 1 deletion(-) -- 2.9.0 diff --git a/drivers/memory/ti-emif-pm.c b/drivers/memory/ti-emif-pm.c index 4ea1514fb9b2..62a86c4bcd0b 100644 --- a/drivers/memory/ti-emif-pm.c +++ b/drivers/memory/ti-emif-pm.c @@ -300,7 +300,6 @@ static int ti_emif_probe(struct platform_device *pdev) static int ti_emif_remove(struct platform_device *pdev) { - struct device *dev = &pdev->dev; struct ti_emif_data *emif_data = emif_instance; emif_instance = NULL;