From patchwork Thu Jan 18 23:44:15 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Christopher Diaz Riveros X-Patchwork-Id: 863230 Return-Path: X-Original-To: incoming-imx@patchwork.ozlabs.org Delivered-To: patchwork-incoming-imx@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=lists.infradead.org (client-ip=65.50.211.133; helo=bombadil.infradead.org; envelope-from=linux-arm-kernel-bounces+incoming-imx=patchwork.ozlabs.org@lists.infradead.org; receiver=) Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="Vbi/9F5x"; dkim-atps=neutral Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3zN0tT0VGnz9t5b for ; Fri, 19 Jan 2018 10:44:49 +1100 (AEDT) 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:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version: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=HzA0sr4/akXUDKGD/z7klfQc8uKJrY0foPguiAx6+ic=; b=Vbi/9F5xeAqL6c 3m8+UKY2U2UDRVwrmCzj3ntSwOtfdxnLRgdfNaZYI7qHBVpOtdcy0n/7TZsCcefTIFFV3GgSPb5ZJ T6kr0fwXVCh4bLEqjMs1L7576gScG+sokdp3rWSzfORVApHrNkbGE1qwg4JCTe6ia/U5XhafCkV7Q pxQd7+8I/xnprq7PsVDpcu30kgB2h0SH/eZEvVP1X2/YzghcAPh9vvSekOP9OpDVmipRWVnP3s5ee 2ARFyfd/t4IAJn7ekf+FPvm7ZBK8eLRYhOm3jwTRvcvjTA1pq4mnPMPJqOubibRCwcprhSQsk1m/B X8zz9fhBuruzR5Vr9cmQ==; 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 1ecJrR-0006BS-Eh; Thu, 18 Jan 2018 23:44:45 +0000 Received: from smtp.gentoo.org ([2001:470:ea4a:1:5054:ff:fec7:86e4]) by bombadil.infradead.org with esmtps (Exim 4.89 #1 (Red Hat Linux)) id 1ecJrO-0006AI-AY for linux-arm-kernel@lists.infradead.org; Thu, 18 Jan 2018 23:44:44 +0000 Received: from gentoo.red.cuarto (unknown [181.67.35.38]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: chrisadr) by smtp.gentoo.org (Postfix) with ESMTPSA id B8B55335C3A; Thu, 18 Jan 2018 23:44:26 +0000 (UTC) From: =?utf-8?q?Christopher_D=C3=ADaz_Riveros?= To: jic23@kernel.org, knaack.h@gmx.de, lars@metafoo.de, pmeerw@pmeerw.net, broonie@kernel.org, arnaud.pouliquen@st.com, arnd@arndb.de Subject: [PATCH-next] IIO: ADC: drop unused 'of_id' struct Date: Thu, 18 Jan 2018 18:44:15 -0500 Message-Id: <20180118234415.32410-1-chrisadr@gentoo.org> X-Mailer: git-send-email 2.15.1 MIME-Version: 1.0 X-Spam-Note: CRM114 invocation failed X-Spam-Score: -4.2 (----) X-Spam-Report: SpamAssassin version 3.4.1 on bombadil.infradead.org summary: Content analysis details: (-4.2 points) pts rule name description ---- ---------------------- -------------------------------------------------- -2.3 RCVD_IN_DNSWL_MED RBL: Sender listed at http://www.dnswl.org/, medium trust [2001:470:ea4a:1:5054:ff:fec7:86e4 listed in] [list.dnswl.org] -0.0 T_RP_MATCHES_RCVD Envelope sender domain matches handover relay domain -0.0 SPF_HELO_PASS SPF: HELO matches SPF record -0.0 SPF_PASS SPF: sender matches SPF record -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-iio@vger.kernel.org, =?utf-8?q?Christopher_D=C3=ADaz_Riveros?= , linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+incoming-imx=patchwork.ozlabs.org@lists.infradead.org List-Id: linux-imx-kernel.lists.patchwork.ozlabs.org When CONFIG_STM32_DFSDM_CORE is enabled, stm32-dfsdm-core.o is compiled, which raises a next warning: drivers/iio/adc/stm32-dfsdm-core.c: In function ‘stm32_dfsdm_probe’: drivers/iio/adc/stm32-dfsdm-core.c:245:29: warning: unused variable ‘of_id’ [-Wunused-variable] const struct of_device_id *of_id; ^~~~~ Signed-off-by: Christopher Díaz Riveros --- 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;