From nobody Sun Feb 8 23:26:59 2026 Received: from canpmsgout10.his.huawei.com (canpmsgout10.his.huawei.com [113.46.200.225]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id B011F209F5A for ; Mon, 22 Dec 2025 08:36:32 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=113.46.200.225 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1766392597; cv=none; b=ORjAD2Q3sWRbdPul2V13yKgfkx8djh9H9BFNJtBdrxCXNw0Ua7lMXvBm/olAF4yKSH8SUFDiQnkgzaCZFxVi7KZE6Nju0q6ycBiDZC9XH58y0MjHn5NGtLsryeZDS6P2T6jCmqZhJJpe6UuilqiSG6UZvhvPUBLTPD0kPm1Ev6Q= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1766392597; c=relaxed/simple; bh=hYmLIzBIi6YmC6zwGQGgRTdzTqZrzAkF1M6CalamlTc=; h=From:To:CC:Subject:Date:Message-ID:MIME-Version:Content-Type; b=bmyQYtQ83DzktMWbzGoqef8FhsFHwI8IBuq8GkCwpZV1xH7yTfb1wE0WW9/ZYzjHiQHuky4ntMPQjclV/jyE6+C+m7AZhKxeBj7bgY7BcH9l3fFT0UlxyqISOztCOJYqa3ugIyUrzg0WGIjB7tzWFqNpVMTXKie1FtTWmd711Z0= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=huawei.com; spf=pass smtp.mailfrom=huawei.com; dkim=pass (1024-bit key) header.d=huawei.com header.i=@huawei.com header.b=Sd6w8AEe; arc=none smtp.client-ip=113.46.200.225 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=huawei.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=huawei.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=huawei.com header.i=@huawei.com header.b="Sd6w8AEe" dkim-signature: v=1; a=rsa-sha256; d=huawei.com; s=dkim; c=relaxed/relaxed; q=dns/txt; h=From; bh=NiO3ehKi9tUTWozLVko3vtKxPTdeI9N0h+sYhu8IKiw=; b=Sd6w8AEe8+P+CW975vfvETVvRto/PNF+Pjz2mep4c97MXDKRAwW8PEiZDpBt0EfE1/BaML5kF 6GtKTtWjizBsxtewDJja8UA8VoXUS1agwUH/bpPrMzMIZKvu8z5dcHCj0dA2pNMMTwmNC7k+eO1 CDkfGo80A9gPwgr7L7zbxEk= Received: from mail.maildlp.com (unknown [172.19.163.127]) by canpmsgout10.his.huawei.com (SkyGuard) with ESMTPS id 4dZWck1f3Cz1K982; Mon, 22 Dec 2025 16:33:26 +0800 (CST) Received: from dggpemf500002.china.huawei.com (unknown [7.185.36.57]) by mail.maildlp.com (Postfix) with ESMTPS id DAFF140363; Mon, 22 Dec 2025 16:36:29 +0800 (CST) Received: from huawei.com (10.50.85.128) by dggpemf500002.china.huawei.com (7.185.36.57) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.11; Mon, 22 Dec 2025 16:36:29 +0800 From: Yue Haibing To: , , , , , , CC: , Subject: [PATCH -next] x86/aperfmperf: Remove unused declaration aperfmperf_get_khz() Date: Mon, 22 Dec 2025 16:56:36 +0800 Message-ID: <20251222085636.1274189-1-yuehaibing@huawei.com> X-Mailer: git-send-email 2.34.1 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-ClientProxiedBy: kwepems200002.china.huawei.com (7.221.188.68) To dggpemf500002.china.huawei.com (7.185.36.57) Content-Type: text/plain; charset="utf-8" Since commit f3eca381bd49 ("x86/aperfmperf: Replace arch_freq_get_on_cpu()") this declaration is unused anymore. Signed-off-by: Yue Haibing --- arch/x86/kernel/cpu/cpu.h | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/x86/kernel/cpu/cpu.h b/arch/x86/kernel/cpu/cpu.h index 5c7a3a71191a..dca2d5845e42 100644 --- a/arch/x86/kernel/cpu/cpu.h +++ b/arch/x86/kernel/cpu/cpu.h @@ -75,7 +75,6 @@ static inline struct amd_northbridge *amd_init_l3_cache(i= nt index) } #endif =20 -unsigned int aperfmperf_get_khz(int cpu); void cpu_select_mitigations(void); =20 extern void x86_spec_ctrl_setup_ap(void); --=20 2.34.1