diff options
author | Jiri Slaby (SUSE) <jirislaby@kernel.org> | 2024-02-13 12:20:49 +0100 |
---|---|---|
committer | Borislav Petkov (AMD) <bp@alien8.de> | 2024-03-27 18:26:58 +0100 |
commit | c8d37084e93fcd937d41b2df59e934a18ff6ae04 (patch) | |
tree | 86fd5cf0cfb99ffa5c09f1c3c5901feebe43835a /drivers/edac/edac_device.h | |
parent | 48bc8869c5ddb0d8d0b6ee81aa81cf1287a20815 (diff) |
EDAC: Remove unused struct members
Remove unused
- edac_pci_ctl_info::edac_subsys
- edac_pci_ctl_info::complete
- edac_device_ctl_info::removal_complete
members.
Found by https://github.com/jirislaby/clang-struct.
[ bp: Squash three almost identical trivial patches into one. ]
Signed-off-by: Jiri Slaby (SUSE) <jirislaby@kernel.org>
Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de>
Link: https://lore.kernel.org/r/20240213112051.27715-6-jirislaby@kernel.org
Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de>
Diffstat (limited to 'drivers/edac/edac_device.h')
-rw-r--r-- | drivers/edac/edac_device.h | 3 |
1 files changed, 0 insertions, 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/... |