lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20220920020711.789296-3-cuigaosheng1@huawei.com>
Date:   Tue, 20 Sep 2022 10:07:09 +0800
From:   Gaosheng Cui <cuigaosheng1@...wei.com>
To:     <tglx@...utronix.de>, <mingo@...hat.com>, <bp@...en8.de>,
        <dave.hansen@...ux.intel.com>, <x86@...nel.org>, <hpa@...or.com>,
        <peterz@...radead.org>, <ndesaulniers@...gle.com>,
        <jpoimboe@...nel.org>, <cuigaosheng1@...wei.com>,
        <lukas.bulwahn@...il.com>, <akpm@...ux-foundation.org>,
        <pbonzini@...hat.com>, <anshuman.khandual@....com>,
        <namit@...are.com>, <seanjc@...gle.com>
CC:     <linux-kernel@...r.kernel.org>
Subject: [PATCH 2/4] x86/platform/intel-mid: remove orphan declarations from intel-mid.h

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@...wei.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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ