Messages in this thread Patch in this message | | | From | "Jiri Slaby (SUSE)" <> | Subject | [PATCH 6/7] EDAC: Remove edac_pci_ctl_info::complete | Date | Tue, 13 Feb 2024 12:20:50 +0100 |
| |
edac_pci_ctl_info::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_pci.h | 3 --- 1 file changed, 3 deletions(-)
diff --git a/drivers/edac/edac_pci.h b/drivers/edac/edac_pci.h index 4159a3ef0dbf..3f47cd9b2b03 100644 --- a/drivers/edac/edac_pci.h +++ b/drivers/edac/edac_pci.h @@ -22,7 +22,6 @@ #ifndef _EDAC_PCI_H_ #define _EDAC_PCI_H_ -#include <linux/completion.h> #include <linux/device.h> #include <linux/edac.h> #include <linux/kobject.h> @@ -70,8 +69,6 @@ struct edac_pci_ctl_info { unsigned long start_time; /* edac_pci load start time (jiffies) */ - struct completion complete; - /* sysfs top name under 'edac' directory * and instance name: * cpu/cpu0/... -- 2.43.1
| |