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: 124933 Delivered-To: patch@linaro.org Received: by 10.46.64.27 with SMTP id n27csp82563lja; Thu, 18 Jan 2018 03:18:53 -0800 (PST) X-Google-Smtp-Source: ACJfBouXs2E0Be9WHahVSeaaIWEebs5n2sb7G8l+r/MBewa2q+YEMYITOQGARQvGlzroArF+XUuC X-Received: by 10.99.110.138 with SMTP id j132mr9386681pgc.313.1516274333841; Thu, 18 Jan 2018 03:18:53 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1516274333; cv=none; d=google.com; s=arc-20160816; b=v6i5duW61lnS3w7iFRZTrgKKkS9EtYEX8kEOVld94YBRBsZJFyULiQQiOlSkfb3cUi Cl1tCx9v7Y6fsxSF9vVxyQpQbt9ecg35zVpNedTPgxqgCTZG8jmv/W/Y0dJaKtwBUuHH SB0r0tVOaYKDJnugBeuzRL6AYY60oAwH+ndSWkV9bLiFSGv8btCFYdJCxWiyyNu+aTsR ywQANyBrPhUa2iOq9W/PUMvRjKJNddSGN9mkIt4nCVEEHyqlpPVmczmNZRaxnIlDNe2C pEEifKpbIv/q7je/WaV6zg+XlamEcOc4WciSC9pWuu6a85ofjFaB/TutObbpWXseXZW1 NyVg== 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=hHNm0OXInNftZWdG3eXfTygkXUpXg4ayj1rVj/D2QYY=; b=sR0weXTPQtkOMHQ8WSFCwZ/CJJ5kAP9Z3fBmp+VGhstTW1dPX9SIJOPmdlnTeqSpab PABXaI8EGHe9L3TVyNRHNURF+XUbDz0gPIKQze9k4uVDik8TIEnR1kv+q1yApRtllBDU yqH6dMX41X2ZlXDTRh19j9pXjBUA3WFFAHH1fr9d3C2i7FDZwsdrme8grgTRneOGVD8y FJkVK/4c7AK5TtjDITvMY6G0YNbQEoTiVwnQFX1r99HyKdclpupwoHrzQVOAFzaRrv/F nyCV90fTvwnF42KZEfO9XuFSLn0DbKAu1vVxzfErYO2U7ciEw53ARbqxtxd3u7GF5PGs zWLQ== 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 77si6550294pfs.2.2018.01.18.03.18.53; Thu, 18 Jan 2018 03:18:53 -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 S1755162AbeARLSv (ORCPT + 28 others); Thu, 18 Jan 2018 06:18:51 -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-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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(-) -- 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;