From patchwork Thu Jan 18 11:17:47 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 10172883 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 9CF65602DC for ; Thu, 18 Jan 2018 11:18:51 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 8AB1626224 for ; Thu, 18 Jan 2018 11:18:51 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 7B080267EC; Thu, 18 Jan 2018 11:18:51 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=2.0 tests=BAYES_00,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 1E40026224 for ; Thu, 18 Jan 2018 11:18:50 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754943AbeARLSt (ORCPT ); Thu, 18 Jan 2018 06:18:49 -0500 Received: from mout.kundenserver.de ([217.72.192.74]:64240 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752184AbeARLSs (ORCPT ); Thu, 18 Jan 2018 06:18:48 -0500 Received: from wuerfel.lan ([95.208.111.237]) by mrelayeu.kundenserver.de (mreue102 [212.227.15.145]) with ESMTPA (Nemesis) id 0M8hmN-1eyu180ijz-00wDYx; Thu, 18 Jan 2018 12:18:13 +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] [v2] IIO: ADC: stm32-dfsdm: remove unused variable again Date: Thu, 18 Jan 2018 12:17:47 +0100 Message-Id: <20180118111810.378441-1-arnd@arndb.de> X-Mailer: git-send-email 2.9.0 X-Provags-ID: V03:K0://6o0T5RazdP4uqm//0ZVGxLmPg/LKHYxWhsxj4mZ2ooMXSxulF QyFSqYJEvt6y+4J7qHCiNHYXDTYZn2+dEA8YNpKcBwddrTR5+XnP1E+Jrr5sq+gJya8qGeW 7cbPSWlhp73xO/AORxsvSIY+GHiuXo1bijgDVrETUZhM2MroLNMyerhbG8KVHxi4bR0jcgQ 3hOWhbKo46+YPOX3fkiBw== X-UI-Out-Filterresults: notjunk:1; V01:K0:uDzFJZpTgww=:UWVmx+m4cIxuZiwV+Ju84x 2+J3HQ+naC4DOvopEMIlpNu/9m/vxz2u9ZD9wAzycku+El8SKLF+zoIrRJK2JS6XoM/MRr3F5 9fMZ2kEiP4AidKjU/mCWhhaDRJlu8kjJnlmxCxAwa5FMBLIKw1kSf89hI3k7lhDiN1/81mPP8 o2RUb4hJiuOGeMTAg1lHN9nc8UilQCizI5JPXqqb9zFoyuhgnd24au5w9wZwm5EmO38ZufAe4 xA/M2WTTrjWkkExoJIaSD/Z4UdXxvlL+IHyyuXDmqApe44vOqpmWLtCX+k6WJ74FfZG2nS8jd MDiIwoS9Tz7f3V9ue6cHkJu/ZOpJDkFxoy/7oOMB13aXPHd8lKO+Lp3+pR8P/jWT5bO7elxAJ aiC3G2gEPXUjJiH5CHG+QIMVp8/DI4JX80reB/ODtVNB7l3hcS4lSHJ433QdJNly5OGyp/15d GoNfie2wwvBafvMJ13nZYoARgeUW7VWi/d81MrlWatrflK9sjvdZHDvmLAVWj9ZsEQ4wRtvZv PRttc8rXl6SMdj//c8z98US/2exrmsLSYjpBIV3t5s47TEY8r+Qf8xOCJPCigj3XgSNDxESuR mowFu0vxZSZfx6q0wP34GTpAbjbsx1217ojW+hy20adSAJmMT2meplchqXb/YCBcdS6y4BBQR cJivGmCHkacMt4281qIENJjne+OPtWyT8z3n8CU36m7IA4E3iIsSXNVXGJs78cvF5x+keFC01 I4+Zqs+ToaglsOmFtaJvkKTz1r0E/EOpVbDqOQ== Sender: linux-iio-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-iio@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP The merge between commit abaca806fd13 ("IIO: ADC: stm32-dfsdm: code optimization") and commit 2353758bc2d4 ("IIO: ADC: stm32-dfsdm: avoid unused-variable warning") 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: d84b4c7c706f ("Merge branch 'topic/iio' of https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound into asoc-st-dfsdm") Signed-off-by: Arnd Bergmann --- v2: update patch description to point to the merge rather than the correct commit before it. --- 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;