From patchwork Wed Jan 17 14:46:24 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 124805 Delivered-To: patch@linaro.org Received: by 10.46.62.1 with SMTP id l1csp68039lja; Wed, 17 Jan 2018 06:47:26 -0800 (PST) X-Google-Smtp-Source: ACJfBotKBg6OZ8zg/si60fvMLerKAOUD1D3cyrUAKM12f2Vu7pmueGoMM2qi/yQfHTTDiJkjXBDl X-Received: by 10.101.102.73 with SMTP id z9mr11007652pgv.448.1516200446624; Wed, 17 Jan 2018 06:47:26 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1516200446; cv=none; d=google.com; s=arc-20160816; b=NVCsn+2QIxkI1yZkIy3gA0k06ts4hYBynfmobdHXf3aGgu+ld87aM0YcMbROsKplsv V13g5PY/Z+iZdtLaNwMiiffKLkxzHBpyVgjzxeNOfg9rrpn7B90OQoeTxH6r4CLfIwvi D6RhMQRcm2yJDf0YHNF3/+H0etzASZ8kWsd9ZLzmZJcdxvugFKBdXdmcS4UcNyU46aQS I79r8xt4IQpBdri5xxUFgBNYXPlnKGn4tgGihVgAu2wLWRYVBktnd1RfAGeL8FUlT2gO iGuBh24CfFiLCc3VVi+L7uBX8YfgZb4SnOY6VAjTDbc3e1/SjhZXKikP+cabLu8mKKXh s+qA== 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=/fiSvOYuCFIOAY3bkMf1BsU1F5DwJ4Wr1YeNrDLrVi0=; b=L4X2VMVlZ5UTj4X1g4D4J0hE9VLJAQx6VXSjrAMXiEB5R1jPgRqKwq43dGy4036R6K v2mUXH6/jVwI1cuYcdvWY4FUMFYsxaBIpnanIFF2o4TrIWfZzIj11FRvD3GRG7/pGXti wY2FWzbv3SXzZBLtEhQJPNDqHM7Bufl9xSDb06uLtOOvz5+9SYWftURkpvMp/BmVDKoK q2lQPh/xNco4zJsNEDQjhxPBl7WuRj3um6OU5XEMdWF91EYB/Rtz2MU/rstSrzoNcwrl yyrXlcqj4LHe54mcSfne9IRPVTFL9vVoyMSxHANUQnwB+wkZ3Ln2R1ruw1Q1vdDNDMXa oMcg== 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 r130si3935425pgr.700.2018.01.17.06.47.26; Wed, 17 Jan 2018 06:47:26 -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 S1753516AbeAQOrZ (ORCPT + 28 others); Wed, 17 Jan 2018 09:47:25 -0500 Received: from mout.kundenserver.de ([212.227.126.131]:50175 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753361AbeAQOrX (ORCPT ); Wed, 17 Jan 2018 09:47:23 -0500 Received: from wuerfel.lan ([95.208.111.237]) by mrelayeu.kundenserver.de (mreue007 [212.227.15.129]) with ESMTPA (Nemesis) id 0Lirv8-1f7JzE1c8E-00dEPS; Wed, 17 Jan 2018 15:46:46 +0100 From: Arnd Bergmann To: Mark Brown Cc: Arnd Bergmann , Jonathan Cameron , Hartmut Knaack , Lars-Peter Clausen , Peter Meerwald-Stadler , Maxime Coquelin , Alexandre Torgue , Arnaud Pouliquen , linux-iio@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH] IIO: ADC: stm32-dfsdm: remove unused variable Date: Wed, 17 Jan 2018 15:46:24 +0100 Message-Id: <20180117144644.2302131-1-arnd@arndb.de> X-Mailer: git-send-email 2.9.0 X-Provags-ID: V03:K0:xnawctXefDCFsDlrdfiBybJV/LsD7alw5RxYY8D7HnWSNilmg8g JxNBE/ha1ioXqurWU3tVzPCaIwBCDWjIh2V+g7rTzoVwMuORTkSpDYVM4tTeEPBmJM7h7mt kobxC5Jtg67mKsI1ZXeSBnT/nZ+IzHs9RYdr3iXe/u6J6ZCU+drYQDQkc6RuJoy+0oJmJXH YQ2myvb23LYabc7HIzkPg== X-UI-Out-Filterresults: notjunk:1; V01:K0:n/EVngdogsE=:4Wbwzeg03r3OLOkVjcJr/v rN7peCQUXGIiJTpI7tSPAY+RHTQeCwpQAx/FPS0zQ9R16H3eJOeBjAqxJvR7u6Ryb0kxeVGS8 ys6+3bytsFqRhVR8HRrX+7BiRjKMVOGC5S1dLW+32PCyAGPA6l+XBI9YruU12RE+t4l0fdwrd INW3xNbWqtYqfJopLkoxGjZSaVWv8tn4AMEVAgKPjaZgnTXrtNtcDzGidy5W275xJ4MArfAQG FAlwCQ5i7r+A6HpIsWlGhKKbZ1HCsQcNmwOJ/5WgTqkvGL/Zy5cMPlGpd9y5TdX38oOisQHiO wwLn6vwjHQPC8Om2gvGn1f2f18CKDwL7ks9zptyOufVYKe5h1UNTH4VKSiNLa2CaQMlkiltfi ZOpHqm1I7bqTrzNxFVkQ2r75Fv+Ju2PjibCi17zsOa8nWxG42ww1HNFcBzIkUyEa5TNxsPV6O 2CIRXCJxWKnVmHiej0o3YV8cIMPSsUlaWUNWNKY6GzwoJHRnn/ZU4L91YNu7ZHAL8ootsVNVy 3us3ifZGU6FtRf73BWCCd0vDxkZcpIIuHpU5doyPSN0+pyu1HCiNhJFe62UOwejmJjQju+iun 3d8wKQ7iKxnVKJGsrIIe2svM8sNDJSCnJkkzlzSCYiKqSKIEPuXcCFnp8RUysiGPVDZ4Uhw9C j6ZVjB6r6sFej6D3G66a53r5exMAu/ZLizTRszf4R33uJnJCxybE4rocEJXrgb1PR1m+17KRe p/wvuqncucwqthnuK/NbPyYn3prlo4j3zBU2Cg== Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org A cleanup left one variable behind that is no longer needed and can be removed, as shown by the gcc warning: drivers/iio/adc/stm32-dfsdm-core.c: In function 'stm32_dfsdm_probe': drivers/iio/adc/stm32-dfsdm-core.c:245:29: error: unused variable 'of_id' [-Werror=unused-variable] Fixes: abaca806fd13 ("IIO: ADC: stm32-dfsdm: code optimization") Signed-off-by: Arnd Bergmann --- drivers/iio/adc/stm32-dfsdm-core.c | 1 - 1 file changed, 1 deletion(-) -- 2.9.0 diff --git a/drivers/iio/adc/stm32-dfsdm-core.c b/drivers/iio/adc/stm32-dfsdm-core.c index 84277bcc465f..6290332cfd3f 100644 --- a/drivers/iio/adc/stm32-dfsdm-core.c +++ b/drivers/iio/adc/stm32-dfsdm-core.c @@ -242,7 +242,6 @@ MODULE_DEVICE_TABLE(of, stm32_dfsdm_of_match); static int stm32_dfsdm_probe(struct platform_device *pdev) { struct dfsdm_priv *priv; - const struct of_device_id *of_id; const struct stm32_dfsdm_dev_data *dev_data; struct stm32_dfsdm *dfsdm; int ret;