Message ID | 20240213112051.27715-6-jirislaby@kernel.org |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel+bounces-63422-ouuuleilei=gmail.com@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:bc8a:b0:106:860b:bbdd with SMTP id dn10csp468404dyb; Tue, 13 Feb 2024 03:22:53 -0800 (PST) X-Google-Smtp-Source: AGHT+IHdvraJXvn7JE2ZCkoGV2yL+KeMUEaqyv8V7TAk5PIcDSkwUGoXGW62Xs0gbmVHOEyNXuOx X-Received: by 2002:a17:902:d501:b0:1da:2c01:fef5 with SMTP id b1-20020a170902d50100b001da2c01fef5mr6828838plg.56.1707823373374; Tue, 13 Feb 2024 03:22:53 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707823373; cv=pass; d=google.com; s=arc-20160816; b=H1jimLVTYdwGqv3bS8GslRsJF5eguX863JLSXqQt/HMzwQVB8yzIlsJxR6VBRwmK3R R6/5kalePyILeuXslsN6AgeScMipPUFeJ6IGTUI6uaOmrgIbPLIHJkNgY/O5+H3KYcKz s5GHkPZMShcSW5xQdZfATPeKql8aCa4DnKvfQfYAesD0CBiqm4BaYsGOtGkaKoaaYeew zkFIS0UZd+p3+9bRkXfGoOKPHu9lpJuvEAT6gkrPL5rAu8IGYbsJtcuuLkWg1i42I7Nh 660GOfH7eCpszDv6Hw+WlJLV2LEQHHFYpjyvbsDNZaoCsh7cP8Fa1D3IMzfIy3GQahtt 1YKQ== 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=WgOxccSLn/d4M1zShgaA/yzvC/EGD7f9RjSfrmWmxAQ=; fh=NuQz/ycyyHVQw55rpUQLQxfWURV0YyfiP8de/mqZWco=; b=FSYKQ9SiPIRSOdzR9K0Fa7JJpwU0V4QeX0LoOlXoLuHJskEHxtOvpMATl/EnvGi9ea +X+nLgLw5pSc7jtkUupgi2AX5OhH3iW8TuRXbzp9raqh9kwJPYVgfDmEGHiNk/5+Kdfs 12wIZuVy2A4rN3Uyv3HdvB24N85Nwda6e8fnXdsB13VasGIKh+IViNgAdOLQa9g6/T12 V87msaewwuCp15kAC1o0kYuAjRfn3T180Xv1QwHjFyCjQ0mlZegKhtJS91Re+TzluEPY 02HyEJCvi2kZnGg8CVi6nzaSM7oAtv/u6lM5TdcSJQCc4xyAf1/F4OUsIpXLcxqktw6M 7YCQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=gjs7tBKu; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-63422-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-63422-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org X-Forwarded-Encrypted: i=2; AJvYcCXrdbmjRQ6Zrxk2VgKwoWsM8+rB/ti9iu2WYuPujwGb3540m9M6cKOmy/Zp15CioYr1L/ah3S6TPkNmYjeKvJzm2Y0fKA== Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id z5-20020a170902d54500b001d720fa139esi1907892plf.17.2024.02.13.03.22.53 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 13 Feb 2024 03:22:53 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-63422-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=gjs7tBKu; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-63422-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-63422-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 3686828206A for <ouuuleilei@gmail.com>; Tue, 13 Feb 2024 11:22:39 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 145F63FB38; Tue, 13 Feb 2024 11:21:16 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="gjs7tBKu" 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 89C3B3D396; Tue, 13 Feb 2024 11:21:13 +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=1707823273; cv=none; b=pGro2MuPC7BXCXr7lpTdTyflJKR6WrIxZgZYoh40hq8bHyodo8SNz83id9vyuPQWlMsCK/WqQGKmm/F7fptp3281DkoQavyPXwsWzpIUeKdQEfQRJW3HOMF3knNlGDJyNP5Rbx52oUFDRDZXiAE/WUUaXhPRKASlknNJCA1UIzA= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707823273; c=relaxed/simple; bh=yVDWfsoh7FqeJLjlF1skb90Df8JXvSB4mHHDi6A6xM8=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=lb4tgSJ4iDhsm7IJ18JVaNmo9TADT/LGYz4kB1x828ifDmzsIMB+gETFl0GqlDnoa/GMcZzw9puOZmzYlxnWKL+vqwGdSMWkxj7mh/m2FgTUIiqOtYbcRW4j+c0r552TfQ+ZFrbjGYFjbDSKjdqd9eiyjTTj7CbZyDKmHPIfUYw= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=gjs7tBKu; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 4FA9DC433B2; Tue, 13 Feb 2024 11:21:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1707823273; bh=yVDWfsoh7FqeJLjlF1skb90Df8JXvSB4mHHDi6A6xM8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=gjs7tBKuDgfum3MxGR5V2wxKJK1HqZ5TJ4mTsreDWpzs7YMfOVhnRb8fbYn88zVIV PEM67j4uV03Og1q1VJWDdHdWsC54pINnR94Y96VRF/4oQIHzLOn68jqGaCvKIHaDzJ CtzuQn8iYJ+IV0Rou2jE7eFdkgP/WoCrBsoSRojjacOjf7dzlncKrUCCcrhE1WDznS cfPK4Df3PJafoJnKyNP8KQLClxSdj2og7hXzYuMWOWcglPH++pNIEuNLyj1yCJrsWg fFI/7Dh7yxNwVF3xf1ahVe5zQ1bX9tjtC1RDxk/qTBJkLu25nkSbru8CR8dkCE9lS1 Uewfb6NAkZNsQ== 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 5/7] EDAC: Remove edac_pci_ctl_info::edac_subsys Date: Tue, 13 Feb 2024 12:20:49 +0100 Message-ID: <20240213112051.27715-6-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: 1790782601796196314 X-GMAIL-MSGID: 1790782601796196314 |
Series |
EDAC: remove unused structure members
|
|
Commit Message
Jiri Slaby
Feb. 13, 2024, 11:20 a.m. UTC
It was never used since its addition in commit 91b99041c1d5
(drivers/edac: updated PCI monitoring). 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_pci.h | 2 --
1 file changed, 2 deletions(-)
diff --git a/drivers/edac/edac_pci.h b/drivers/edac/edac_pci.h index 5175f5724cfa..4159a3ef0dbf 100644 --- a/drivers/edac/edac_pci.h +++ b/drivers/edac/edac_pci.h @@ -48,8 +48,6 @@ struct edac_pci_ctl_info { int pci_idx; - struct bus_type *edac_subsys; /* pointer to subsystem */ - /* the internal state of this controller instance */ int op_state; /* work struct for this instance */