[PATCH 2/4] x86/platform/intel-mid: remove orphan declarations from intel-mid.h
From: Gaosheng Cui
Date: Mon Sep 19 2022 - 22:07:31 EST
All uses of intel_scu_devices_create() and intel_scu_devices_destroy()
have been removed by commit 4590d98f5a4f ("sfi: Remove framework
for deprecated firmware")
So remove the orphan declarations and the unused inline functions.
Signed-off-by: Gaosheng Cui <cuigaosheng1@xxxxxxxxxx>
---
arch/x86/include/asm/intel-mid.h | 12 ------------
1 file changed, 12 deletions(-)
diff --git a/arch/x86/include/asm/intel-mid.h b/arch/x86/include/asm/intel-mid.h
index c201083b34f6..1020a761bb7e 100644
--- a/arch/x86/include/asm/intel-mid.h
+++ b/arch/x86/include/asm/intel-mid.h
@@ -20,18 +20,6 @@ extern void intel_mid_pwr_power_off(void);
extern int intel_mid_pwr_get_lss_id(struct pci_dev *pdev);
-#ifdef CONFIG_X86_INTEL_MID
-
-extern void intel_scu_devices_create(void);
-extern void intel_scu_devices_destroy(void);
-
-#else /* !CONFIG_X86_INTEL_MID */
-
-static inline void intel_scu_devices_create(void) { }
-static inline void intel_scu_devices_destroy(void) { }
-
-#endif /* !CONFIG_X86_INTEL_MID */
-
/* Bus Select SoC Fuse value */
#define BSEL_SOC_FUSE_MASK 0x7
/* FSB 133MHz */
--
2.25.1