Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753516AbeAQOrZ (ORCPT + 1 other); 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 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 List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Return-Path: 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(-) 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; -- 2.9.0