[5/7] EDAC: Remove edac_pci_ctl_info::edac_subsys

Message ID 20240213112051.27715-6-jirislaby@kernel.org
State New
Headers
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(-)
  

Patch

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 */