lkml.org 
[lkml]   [2022]   [Sep]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH 2/4] x86/platform/intel-mid: remove orphan declarations from intel-mid.h
Date
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@huawei.com>
---
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
\
 
 \ /
  Last update: 2022-09-20 04:07    [W:0.037 / U:0.152 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site