Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752426AbdLFONc (ORCPT ); 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 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: git-send-email 2.9.0 X-Provags-ID: V03:K0:2kLQjzOQiMg9NmLrGcPbHaEO6Gz+UP7WxW1HHrURkkbjPgSZEnL FkMGSQG+eoY39yMIjmiDjMo9U6H6kBU19iGKF+SS0GWBQRZcb6ufGbFXccDsSY542KSJIs9 YN2HsJ7rpjzFiAhsbZvE6VP1SCdaCm6R421A6+x6j/HYt4lrv/W6SG8GB203hpECA4/6Nf3 PBbfVONU6ft02J2ftj0Xw== X-UI-Out-Filterresults: notjunk:1;V01:K0:qwZGV48xOPI=:kOI2ZMzMOxHxBR0gfcIn5I xD8rjQz/f7j1vRs++Nf/qdDYlx2JavAo/RLJ7qSM2MNnf1dg2ZtlXXfDjQ3VEfRk4SufUdtuf ZUDyEbtQRHacqrFJHzbK7059CyMiAgyNjUG3jUAh5eAXNe87UQvroqO82Oic8rCjaRYy0s3bV Y0sylrYGBknUqZ441z9rC+6nfCHDj8SOe5OyqqkryKB7We3FH5x+09NNJHp0ZaqV5QjQLv5bm 3lvNXvIHDt7dN3NgpIgYlNwZ5hZ3fQ5jfAPMqKQE9k045o/xtu5LkXf99Iozfh5GvgT3US1d5 uf6emrCRWrHwz7AcEUTlQSjbbhLnivJbaBmfAflc36G30MQdedA+sNv+wTiobM4tMjTM6D1xP GHsVTIBeaQloVcDOOk/AUuwYaYpBXfdU8TuxOkmTDuzmyCrR+wzZ0XKzmcfrVPHuFEeK+IyuF u20TnPYiWG5SF/9kevd5LD81xLV60DB2ARmB8c0RFV6ufoE2shZvcqfsSHI76u4oUaFDreaDO o3OU2QjNpmicYIrH21HxB5kerjF0dGLZlVhu+oFG9tcvFvIvgetyjDnLBq/NV2rXecp4djMtC PBnWJeSp4AfOMyssd2ygwsN8KrsH5/MXDOCbTHPb+kkIBGrrLeyVowIkMTGWuU+d+wWX1RUbY FL+dQ1ZzJPSV05+KrRCWPyUNdxCLVGfd59EPEf4uD8vShM/uuxF60OvPt9lYhG0QDCb4WsqHk WCS4fZeViAFrfGpx5gcI4hHuSUshMTinGsVVXA== Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 897 Lines: 26 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(-) 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; -- 2.9.0