From patchwork Sat Aug 10 09:39:44 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yue Haibing X-Patchwork-Id: 13759513 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 8F00EC3DA4A for ; Sat, 10 Aug 2024 09:42:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Type: Content-Transfer-Encoding:MIME-Version:Message-ID:Date:Subject:CC:To:From: Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender :Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Owner; bh=sIgy/+BmuSK8c7ezq9eaPjxueC5RYaRKhp/RQwe2Okk=; b=0z23x0CbAOnoChmwNKp8gnheyx hU9Iq58/iW8KHPDjcGpzNvDQB/9iQsU1V/yAwfd7oIcrwjCdEK5oMQpKyJYk7rB0BVKPf1Tk7dceq glGL+FOVe+pvSev68L8iP+TTs3k9zKeB0SQCJ3h0A8MYo930RP4YF1SfvFiOH8/PzgV8FthYsUKBU 6NX/UN+kNqOoZw01e3WMUVgRpg1Pd7DuTgNp317LlACit/9xqHfqtk27z0zf8ezkBznuaoxh4uBWR CgxllV9RdTbr18NPBo5LPDEhAY/vCxupigb2Mp4A77ADMf8FUWKAM01GrK33lp1UTrj559+W4qU3p VMPVCs3A==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1scicR-0000000Dveq-1Gw9; Sat, 10 Aug 2024 09:42:39 +0000 Received: from szxga02-in.huawei.com ([45.249.212.188]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1scibq-0000000DvVh-3bC7 for linux-arm-kernel@lists.infradead.org; Sat, 10 Aug 2024 09:42:04 +0000 Received: from mail.maildlp.com (unknown [172.19.162.254]) by szxga02-in.huawei.com (SkyGuard) with ESMTP id 4Wgwkf2Z6PzpT25; Sat, 10 Aug 2024 17:40:42 +0800 (CST) Received: from dggpemf500002.china.huawei.com (unknown [7.185.36.57]) by mail.maildlp.com (Postfix) with ESMTPS id EF40A180100; Sat, 10 Aug 2024 17:41:56 +0800 (CST) Received: from huawei.com (10.175.101.6) 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; Sat, 10 Aug 2024 17:41:56 +0800 From: Yue Haibing To: , , , CC: , , Subject: [PATCH -next] arm64/sve: Remove unused declaration read_smcr_features() Date: Sat, 10 Aug 2024 17:39:44 +0800 Message-ID: <20240810093944.2587809-1-yuehaibing@huawei.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-Originating-IP: [10.175.101.6] X-ClientProxiedBy: dggems704-chm.china.huawei.com (10.3.19.181) To dggpemf500002.china.huawei.com (7.185.36.57) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240810_024203_074582_339BDAA7 X-CRM114-Status: UNSURE ( 8.42 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Commit 391208485c3a ("arm64/sve: Remove SMCR pseudo register from cpufeature code") removed the implementation but leave declaration. Signed-off-by: Yue Haibing Reviewed-by: Anshuman Khandual Reviewed-by: Mark Brown Reviewed-by: Zenghui Yu --- arch/arm64/include/asm/fpsimd.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/arch/arm64/include/asm/fpsimd.h b/arch/arm64/include/asm/fpsimd.h index bc69ac368d73..f2a84efc3618 100644 --- a/arch/arm64/include/asm/fpsimd.h +++ b/arch/arm64/include/asm/fpsimd.h @@ -155,8 +155,6 @@ extern void cpu_enable_sme2(const struct arm64_cpu_capabilities *__unused); extern void cpu_enable_fa64(const struct arm64_cpu_capabilities *__unused); extern void cpu_enable_fpmr(const struct arm64_cpu_capabilities *__unused); -extern u64 read_smcr_features(void); - /* * Helpers to translate bit indices in sve_vq_map to VQ values (and * vice versa). This allows find_next_bit() to be used to find the