From nobody Thu Sep 11 16:41:59 2025 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 53050EB64DD for ; Sat, 5 Aug 2023 11:04:46 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229898AbjHELEl (ORCPT ); Sat, 5 Aug 2023 07:04:41 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52146 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229511AbjHELEj (ORCPT ); Sat, 5 Aug 2023 07:04:39 -0400 Received: from szxga01-in.huawei.com (szxga01-in.huawei.com [45.249.212.187]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 370C04215 for ; Sat, 5 Aug 2023 04:04:38 -0700 (PDT) Received: from canpemm500007.china.huawei.com (unknown [172.30.72.53]) by szxga01-in.huawei.com (SkyGuard) with ESMTP id 4RJ07P0W73zrS4q; Sat, 5 Aug 2023 19:03:29 +0800 (CST) Received: from localhost (10.174.179.215) by canpemm500007.china.huawei.com (7.192.104.62) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.27; Sat, 5 Aug 2023 19:04:35 +0800 From: Yue Haibing To: , , CC: , Subject: [PATCH -next] cpu/hotplug: Remove unused function declaration cpu_set_state_online() Date: Sat, 5 Aug 2023 19:04:06 +0800 Message-ID: <20230805110406.45900-1-yuehaibing@huawei.com> X-Mailer: git-send-email 2.10.2.windows.1 MIME-Version: 1.0 X-Originating-IP: [10.174.179.215] X-ClientProxiedBy: dggems702-chm.china.huawei.com (10.3.19.179) To canpemm500007.china.huawei.com (7.192.104.62) X-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Commit 5356297d12d9 ("cpu/hotplug: Remove cpu_report_state() and related un= used cruft") removed function but leave the declaration. Signed-off-by: Yue Haibing --- include/linux/cpu.h | 1 - 1 file changed, 1 deletion(-) diff --git a/include/linux/cpu.h b/include/linux/cpu.h index 6b326a9e8191..ed56b2534500 100644 --- a/include/linux/cpu.h +++ b/include/linux/cpu.h @@ -191,7 +191,6 @@ void arch_cpu_finalize_init(void); static inline void arch_cpu_finalize_init(void) { } #endif =20 -void cpu_set_state_online(int cpu); void play_idle_precise(u64 duration_ns, u64 latency_ns); =20 static inline void play_idle(unsigned long duration_us) --=20 2.34.1