Received: by 2002:ab2:60d1:0:b0:1f7:5705:b850 with SMTP id i17csp346944lqm; Wed, 1 May 2024 02:21:42 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWQ8VUy83reBMrtcbs+b5ffV3bDXXq1EUIrFGSs2YnoMuaXg21C8d2/JeAxXQVxJ95uVGx55FQhPqc5O5c7SwB3dDzkIB8hOL67b9aqcA== X-Google-Smtp-Source: AGHT+IE+VJcDXMevbdsXKsdmeqNd8CEHfvD8oaM5gcM/zLsOJ9/eLsixt+sX6AM51GQoLAM1F9yi X-Received: by 2002:a05:6808:617:b0:3c7:509d:a383 with SMTP id y23-20020a056808061700b003c7509da383mr1965137oih.24.1714555302746; Wed, 01 May 2024 02:21:42 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1714555302; cv=pass; d=google.com; s=arc-20160816; b=corsT4b6O0xP1Sb/V86LhNVt8I2QIv0DumyyBNcr30ByF2XwQt3/Mmt5a6PAbqbCiu k9ZHLmVyIlvkDjfp54i5R0KF4vPUlewTs5qfXJ8s4LtBnuhZIf6XxvgLxkclFDrxTaMp /SdE+oJPSiGU/2jqh7aQ8CowF0z8nIJ+6pI8/svogYj9Ej60KZL+0tzuo4+8FgIC1A5D EZwJEgnauwELDO3AtYEE59EV5zyjbLAjyuF1DHt9ve5n5i4c4bBduat2c7pMvqAGeUyI HERLIqtCRu8TrAm9yNxzzjTc+k3SXbwCnu4Ag97ybq9R2fvp0YchUf0Q5o3n7s+td+Wq 8ANg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from:dkim-signature; bh=Xesjsh9zXqKwK5RBVsmOk430OrjLqZlImsK09mLqsu4=; fh=9TR5KXN9yqEVZqKy4aREL1Lyd95nei37usBWLPQ34og=; b=rC05ifRi3rYufE/L/vrFrmk15Gr4ITVFfJ/2Q17VIcIaTHotPylrNypEoHjOTqU8ha yBd3WZS7OPZyxqHiZlHad5uhaYA8bx20HYUzU97SZh3a7AVmKPnAQkssmyylNUzfsE+u FrHyHLS1dUFOeHYZdMbnrsbagag3nFiWvjAYp7z4JWpNyxFqf0GAgWdtvinBdl2ZO64W th2U2Grfl5Vx5SLCwqYDKu2faTzzpd2VSzGZknfPn0PXYNVC+x9g4LzleVTQakbgiwSA 7F9pGkSs9xHjioCMY/Qd2ELI0mCKhkFS+Zy9PbU+eIogTwezT2/PS/Mf4E7v7qSQzU63 EvAw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@wanadoo.fr header.s=t20230301 header.b=dOB8pKST; arc=pass (i=1 spf=pass spfdomain=wanadoo.fr dkim=pass dkdomain=wanadoo.fr dmarc=pass fromdomain=wanadoo.fr); spf=pass (google.com: domain of linux-kernel+bounces-165084-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-165084-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=wanadoo.fr Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id ge8-20020a05621427c800b006a0badbdc6dsi9503208qvb.219.2024.05.01.02.21.42 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 01 May 2024 02:21:42 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-165084-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@wanadoo.fr header.s=t20230301 header.b=dOB8pKST; arc=pass (i=1 spf=pass spfdomain=wanadoo.fr dkim=pass dkdomain=wanadoo.fr dmarc=pass fromdomain=wanadoo.fr); spf=pass (google.com: domain of linux-kernel+bounces-165084-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-165084-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=wanadoo.fr Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 606091C22500 for ; Wed, 1 May 2024 09:21:42 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 47086502B9; Wed, 1 May 2024 09:20:05 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=wanadoo.fr header.i=@wanadoo.fr header.b="dOB8pKST" Received: from smtp.smtpout.orange.fr (smtp-25.smtpout.orange.fr [80.12.242.25]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id A39CE51C40; Wed, 1 May 2024 09:20:01 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=80.12.242.25 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714555204; cv=none; b=oeBWt2gcfib0VKxiLVD/z5fPOz3gb0I00jsHmdTmu1J+UuZ7h3CMdaZ4WKkscXSEzrNXRbjCyS7EjmPJXJn0ZbNXhH/SnAHVWG7JRUDOTwrv4jJcf8Pq+ZX7TdgBbb2tpoIzYVX4U5NSRFce1Fw1/UIMYw88mtB+UKQajQfCvZc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714555204; c=relaxed/simple; bh=toE93QySheBfyF02XRIVOBlqg4D+U5lZNaG+/pvnFcE=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=CwTjQji6ARcn/wPV4PVrSBbZHuucLt8FdtvoA2K2+cX+WVcZ80HVy/qSktUEW9L19syvet3tdNRvpovfp7RVOS0uYuqBrrepnuMSXwBcCyHsLlNP7fy6eTElOIPejh+FdfD643F/iXf7XffTAlz53yF31zgutCEw6EXKW4pxMp0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=wanadoo.fr; spf=pass smtp.mailfrom=wanadoo.fr; dkim=pass (2048-bit key) header.d=wanadoo.fr header.i=@wanadoo.fr header.b=dOB8pKST; arc=none smtp.client-ip=80.12.242.25 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=wanadoo.fr Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=wanadoo.fr Received: from localhost.localdomain ([86.243.17.157]) by smtp.orange.fr with ESMTPA id 267zszaB9n00P267zs1vYS; Wed, 01 May 2024 11:19:53 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=wanadoo.fr; s=t20230301; t=1714555193; bh=Xesjsh9zXqKwK5RBVsmOk430OrjLqZlImsK09mLqsu4=; h=From:To:Subject:Date:Message-ID:MIME-Version; b=dOB8pKSTbrotF/JpCqwczO3LP3h6y8xgMnF2uKE0pzcECqPQj5IwdndJXt/w5LZ1H XSQNK9ikSOPtQ4DQl5U4r81sDMmRa9VfjG+sebU9v9mEOUWe6DDxNxcwqWmkQZn3L0 b2PNUhH+dSRTFCk1UmuDGDqt2mKnAeax91WFyWY401n0eq1LCrE4pS2fx/iXp3F497 7g4LVM7Zqi2MvOnAnl5tXDAR7zJgWSbZewXPTdwlCGS4T7ObI1Zga+JqQAOILG1aPB fIwmgRaU6cVyF1vBviirJAXbUN2WN+JNlD0wqtBlk1o2PVUQrkZsPTI78zDWD29vsr 9Vo85XBVMskGw== X-ME-Helo: localhost.localdomain X-ME-Auth: Y2hyaXN0b3BoZS5qYWlsbGV0QHdhbmFkb28uZnI= X-ME-Date: Wed, 01 May 2024 11:19:53 +0200 X-ME-IP: 86.243.17.157 From: Christophe JAILLET To: Rajat Khandelwal , Jonathan Cameron , Lars-Peter Clausen Cc: linux-kernel@vger.kernel.org, kernel-janitors@vger.kernel.org, Christophe JAILLET , linux-iio@vger.kernel.org Subject: [PATCH] iio: temperature: max30208: Remove an unused field in struct max30208_data Date: Wed, 1 May 2024 11:19:41 +0200 Message-ID: <73f9f540ecdc7c10e833e6fc782324ae7d34ba9c.1714555144.git.christophe.jaillet@wanadoo.fr> X-Mailer: git-send-email 2.44.0 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit In "struct max30208_data", the 'indio_dev' field is unused. Remove it. Found with cppcheck, unusedStructMember. Signed-off-by: Christophe JAILLET --- Compile tested only. It was added in the initial commit 9ee95ae4cffd ("iio: temperature: Add driver support for Maxim MAX30208") but was never used. --- drivers/iio/temperature/max30208.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/iio/temperature/max30208.c b/drivers/iio/temperature/max30208.c index 48be03852cd8..720469f9dc36 100644 --- a/drivers/iio/temperature/max30208.c +++ b/drivers/iio/temperature/max30208.c @@ -34,7 +34,6 @@ struct max30208_data { struct i2c_client *client; - struct iio_dev *indio_dev; struct mutex lock; /* Lock to prevent concurrent reads of temperature readings */ }; -- 2.44.0