Message ID | 20240213112051.27715-8-jirislaby@kernel.org |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel+bounces-63424-ouuuleilei=gmail.com@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:bc8a:b0:106:860b:bbdd with SMTP id dn10csp468513dyb; Tue, 13 Feb 2024 03:23:12 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCUnEaN+Q0+dJShkhi78IB4KzozuJ5XVZFgEp44z24yyK382hj+6ulGG3F+sVgykrhvgT3Bbly/sTG8hbkmT/vSmrD6nfA== X-Google-Smtp-Source: AGHT+IFp/nU5KtTKFBMTEtVHFLhHCm5ZB8hNbXn/mRGpdBQD/1erbp0IXoi6TSrt8xMzryc5CLci X-Received: by 2002:aa7:d5c2:0:b0:55f:ec52:73c4 with SMTP id d2-20020aa7d5c2000000b0055fec5273c4mr6979512eds.34.1707823392304; Tue, 13 Feb 2024 03:23:12 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707823392; cv=pass; d=google.com; s=arc-20160816; b=BhUo2iHyldikV2QowC2RpM5Osnp3SY8C2eKNMFvn/9cnSj7F44mrR/F8WPEHrAlr4l Fdq8Ep+SBfSERKr5QbC02iWmr7ZPNVQzp0fcotaJccK8jur8mGg4bLRUXpgwqCf613a+ 88M6YgculWVq+yeK0KfuTCfZE0ERgs2FogudRZ2w+jhoBaHopVdaf8N0PhrPtnFQuCcv gGPrOUiXvR331Id1z4KLk4sstgDtRErFm7su9FKwlcoE/tCxJot4oE1mpBPH/VNpvOZ+ cAT+P/LE9XL2l/QmOGq3zWMES9MxqmuD/vFU1hB3FdLYADq2uJuOYjMjssY4nfPVeuTE r1fg== 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:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=btfgNwk5agoTI1hp8GeTxYgzgYMjecFHpfiG/KWYY00=; fh=FYXihPbXEWtqJ7hvitkV0AQsDhHIBoU+ggCdDcQ2vYI=; b=RS/gr9kD9EEd8/73in2vXAeE8RDjsr+QIi612Hypnu3nVOfjkcPvdvnZHbuKxTIA6x cm/kmHQAUjR22K2LqBpUxUlFLM0FTlA4OjzEBCx89BCNZuWWXwTHikM/SE2wTKFNWd58 GJ53D5IJzf1OZluwcZVaZ+Zl3c/7UYzCUnFbk+LG6GoGSOv/UyQp7fQLue6mQqdLlT36 VnBZ3IZkzz9aiwYtnsLCyOuPVlaO4T9eXf4NQGECEr7X2HIkUJ6BT18xzcaza7u4mnXO YcRKSoEHGPy6xBJsZgaXwfeX8BiSrq857T3nuTst/z7NJBW+ZXtSq3Oc76eJF/VLg1ZQ 1b3Q==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=P+eoeyo8; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-63424-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-63424-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org X-Forwarded-Encrypted: i=2; AJvYcCXCc+DTzVZ30MX+yAGToPqtjIcHlursoehKEOeAhPlhsRQ9C4V3fkHpZ2CpJK2f74FME+yjpev4oRDkJRPxSeBuT6JWMg== Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id x3-20020aa7d6c3000000b00560fd0b13fdsi3628794edr.424.2024.02.13.03.23.12 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 13 Feb 2024 03:23:12 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-63424-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=P+eoeyo8; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-63424-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-63424-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org 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 am.mirrors.kernel.org (Postfix) with ESMTPS id E231A1F21139 for <ouuuleilei@gmail.com>; Tue, 13 Feb 2024 11:23:11 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 62DC04DA0A; Tue, 13 Feb 2024 11:21:20 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="P+eoeyo8" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id BE46A4207F; Tue, 13 Feb 2024 11:21:17 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707823277; cv=none; b=khCTZW20Jx/2Wv76gZBGp/bSnwlciV4P4IjggELIm958+9KyXpGq2MM9ltjWSe2J3FQIl/QErpzP3yrEcvmCa3DVULAQcJvTESQfPl2RGl/lSUQnaIidjn2nuXhA+sBrFSX5vXMwKSZop3GOKVU7BARuc9t0678pHr6ZOQ9oN1Q= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707823277; c=relaxed/simple; bh=7rlQVPPK7OWucwtWFQVrtA/YfOz50z1TLi70ClXddQA=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=ZAZx+N8ZByHEF877C9+p9j0WMkBM26SrUbnh1RgRDPXenyDXxWP7MGaGYrV7lE/7T+C5QKbUcr/eJtC96RneV4TvUwRvPyLVBbVKwI6un5vPxo8/+Qos8DzyOoS+8nQG0ToC8bIEmPtx03d4+UhILjLGZN73bZFl96QFgkYAsLE= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=P+eoeyo8; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id C7090C433F1; Tue, 13 Feb 2024 11:21:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1707823277; bh=7rlQVPPK7OWucwtWFQVrtA/YfOz50z1TLi70ClXddQA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=P+eoeyo8+EWkWQ8iVcrW/PdgpU6Ow3aBa+JsUCKn0gcW5uNeJcysOzrcwj/qPBcn8 4YpLbDsrtiRPGHm9ajOlVLtl3K2W2gQ3zQsPPqhK6X8DCDt99GXc7pObMpMo1KfAi0 5Ptglt8ppj9ZvePTpK5EddOq5P3D3HNnWyqe5U+MPWIkAmmDXgwFlJ2+bd9kEfWMGU eEO8Hlms9K/ODkjyPfT07pmWtQG67c3BtyPXJdoev4JWEG1VwdnEyyfxdfWpBFydoX Jyu3LZtcl1Osc33O8UM8njyihlYAClFsCaxweBOgNVdW1N2jn8mWB/GzjiChUKJI38 LdPvpGysTzU/w== From: "Jiri Slaby (SUSE)" <jirislaby@kernel.org> To: bp@alien8.de Cc: linux-kernel@vger.kernel.org, "Jiri Slaby (SUSE)" <jirislaby@kernel.org>, Tony Luck <tony.luck@intel.com>, James Morse <james.morse@arm.com>, Mauro Carvalho Chehab <mchehab@kernel.org>, Robert Richter <rric@kernel.org>, linux-edac@vger.kernel.org Subject: [PATCH 7/7] EDAC: Remove edac_device_ctl_info::removal_complete Date: Tue, 13 Feb 2024 12:20:51 +0100 Message-ID: <20240213112051.27715-8-jirislaby@kernel.org> X-Mailer: git-send-email 2.43.1 In-Reply-To: <20240213112051.27715-1-jirislaby@kernel.org> References: <20240213112051.27715-1-jirislaby@kernel.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: <linux-kernel.vger.kernel.org> List-Subscribe: <mailto:linux-kernel+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:linux-kernel+unsubscribe@vger.kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1790782621441624399 X-GMAIL-MSGID: 1790782621441624399 |
Series |
EDAC: remove unused structure members
|
|
Commit Message
Jiri Slaby
Feb. 13, 2024, 11:20 a.m. UTC
edac_device_ctl_info::removal_complete is not used since commit
458e5ff13e1b (edac: core: remove completion-wait for complete with
rcu_barrier). Drop it.
Found by https://github.com/jirislaby/clang-struct.
Signed-off-by: Jiri Slaby (SUSE) <jirislaby@kernel.org>
Cc: Borislav Petkov <bp@alien8.de>
Cc: Tony Luck <tony.luck@intel.com>
Cc: James Morse <james.morse@arm.com>
Cc: Mauro Carvalho Chehab <mchehab@kernel.org>
Cc: Robert Richter <rric@kernel.org>
Cc: linux-edac@vger.kernel.org
---
drivers/edac/edac_device.h | 3 ---
1 file changed, 3 deletions(-)
diff --git a/drivers/edac/edac_device.h b/drivers/edac/edac_device.h index 55be019c12ca..034711d71ebf 100644 --- a/drivers/edac/edac_device.h +++ b/drivers/edac/edac_device.h @@ -22,7 +22,6 @@ #ifndef _EDAC_DEVICE_H_ #define _EDAC_DEVICE_H_ -#include <linux/completion.h> #include <linux/device.h> #include <linux/edac.h> #include <linux/kobject.h> @@ -191,8 +190,6 @@ struct edac_device_ctl_info { unsigned long start_time; /* edac_device load start time (jiffies) */ - struct completion removal_complete; - /* sysfs top name under 'edac' directory * and instance name: * cpu/cpu0/...