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: 10172881 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 C508C602DC for ; Thu, 18 Jan 2018 11:18:46 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id B1E4B26224 for ; Thu, 18 Jan 2018 11:18:46 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id A2A11267EC; Thu, 18 Jan 2018 11:18:46 +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=-4.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 2E4FD26224 for ; Thu, 18 Jan 2018 11:18:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To: References:List-Owner; bh=5urhHEF7YnKseLv6iP8E5WP4h139Jx81Xwc6Hd/+iLU=; b=OWw DktDQrWJkzcOYgGKgongZaX+JXSL0dw89vFow9FlBRCqad6qNCrNF0dOXwfIU+MB2LNrqJ2d+oSNO b4o7KzqiCB3uV2ZB9OVwrl7l9byEbzIf4mJk3cY8LcvmrL246lHuxYFWzsSEy5RWAD0uwWL4SBLD4 93VVR9j2IatknF0dexZW6p+mhdHFQnHThJbDBEB0Z1yoL7Fov0IMw3Z4XYtdKq30vXld2yhpngyqE wt+XMqawaEAiFuLGpWyF6j/LshPcl1BpPbzYR5Lbgx3BjnLbSMxYxNonXA4mkks+OYlnJb7w4lRjv 599ItTw7/YPNUQd/mA2fo3tADwd3NEA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.89 #1 (Red Hat Linux)) id 1ec8DV-0001aB-4x; Thu, 18 Jan 2018 11:18:45 +0000 Received: from mout.kundenserver.de ([217.72.192.74]) by bombadil.infradead.org with esmtps (Exim 4.89 #1 (Red Hat Linux)) id 1ec8DR-0001ZW-V0 for linux-arm-kernel@lists.infradead.org; Thu, 18 Jan 2018 11:18:43 +0000 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 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== X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Lars-Peter Clausen , Peter Meerwald-Stadler , Arnd Bergmann , linux-iio@vger.kernel.org, Arnaud Pouliquen , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Maxime Coquelin , Hartmut Knaack , Jonathan Cameron , Alexandre Torgue MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.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;