diff mbox series

[-next] drivers/edac: Remove obsoleted declarations for edac_sysfs_pci_setup()/_teardown()

Message ID 20240824120915.2519517-1-cuigaosheng1@huawei.com (mailing list archive)
State New
Headers show
Series [-next] drivers/edac: Remove obsoleted declarations for edac_sysfs_pci_setup()/_teardown() | expand

Commit Message

cuigaosheng Aug. 24, 2024, 12:09 p.m. UTC
The edac_sysfs_pci_setup()/_teardown() have been removed
since commit 91b99041c1d5 ("drivers/edac: updated PCI monitoring"),
and now they are useless, so remove them.

Signed-off-by: Gaosheng Cui <cuigaosheng1@huawei.com>
---
 drivers/edac/edac_module.h | 4 ----
 1 file changed, 4 deletions(-)
diff mbox series

Patch

diff --git a/drivers/edac/edac_module.h b/drivers/edac/edac_module.h
index 47593afdc234..71c9bf54ed4b 100644
--- a/drivers/edac/edac_module.h
+++ b/drivers/edac/edac_module.h
@@ -102,8 +102,6 @@  static inline void edac_debugfs_create_x32(const char *name, umode_t mode,
 #ifdef	CONFIG_PCI
 extern void edac_pci_do_parity_check(void);
 extern void edac_pci_clear_parity_errors(void);
-extern int edac_sysfs_pci_setup(void);
-extern void edac_sysfs_pci_teardown(void);
 extern int edac_pci_get_check_errors(void);
 extern int edac_pci_get_poll_msec(void);
 extern void edac_pci_remove_sysfs(struct edac_pci_ctl_info *pci);
@@ -114,8 +112,6 @@  extern void edac_pci_handle_npe(struct edac_pci_ctl_info *pci,
 /* pre-process these away */
 #define edac_pci_do_parity_check()
 #define edac_pci_clear_parity_errors()
-#define edac_sysfs_pci_setup()  (0)
-#define edac_sysfs_pci_teardown()
 #define edac_pci_get_check_errors()
 #define edac_pci_get_poll_msec()
 #define edac_pci_handle_pe()