From nobody Sun Apr 5 13:17:17 2026 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 25C54C6FA82 for ; Tue, 20 Sep 2022 02:07:31 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230137AbiITCH3 (ORCPT ); Mon, 19 Sep 2022 22:07:29 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34630 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230112AbiITCHR (ORCPT ); Mon, 19 Sep 2022 22:07:17 -0400 Received: from szxga08-in.huawei.com (szxga08-in.huawei.com [45.249.212.255]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EA81857247 for ; Mon, 19 Sep 2022 19:07:15 -0700 (PDT) Received: from kwepemi500012.china.huawei.com (unknown [172.30.72.54]) by szxga08-in.huawei.com (SkyGuard) with ESMTP id 4MWlF86NJSz14Qdw; Tue, 20 Sep 2022 10:03:08 +0800 (CST) Received: from cgs.huawei.com (10.244.148.83) by kwepemi500012.china.huawei.com (7.221.188.12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.31; Tue, 20 Sep 2022 10:07:13 +0800 From: Gaosheng Cui To: , , , , , , , , , , , , , , , CC: Subject: [PATCH 2/4] x86/platform/intel-mid: remove orphan declarations from intel-mid.h Date: Tue, 20 Sep 2022 10:07:09 +0800 Message-ID: <20220920020711.789296-3-cuigaosheng1@huawei.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220920020711.789296-1-cuigaosheng1@huawei.com> References: <20220920020711.789296-1-cuigaosheng1@huawei.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Originating-IP: [10.244.148.83] X-ClientProxiedBy: dggems703-chm.china.huawei.com (10.3.19.180) To kwepemi500012.china.huawei.com (7.221.188.12) X-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Type: text/plain; charset="utf-8" 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 --- 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); =20 extern int intel_mid_pwr_get_lss_id(struct pci_dev *pdev); =20 -#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 */ --=20 2.25.1