]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
arm64/sve: Remove unused declaration read_smcr_features()
authorYue Haibing <yuehaibing@huawei.com>
Sat, 10 Aug 2024 09:39:44 +0000 (17:39 +0800)
committerWill Deacon <will@kernel.org>
Fri, 16 Aug 2024 10:48:14 +0000 (11:48 +0100)
Commit 391208485c3a ("arm64/sve: Remove SMCR pseudo register from cpufeature code")
removed the implementation but leave declaration.

Signed-off-by: Yue Haibing <yuehaibing@huawei.com>
Reviewed-by: Mark Brown <broonie@kernel.org>
Reviewed-by: Zenghui Yu <yuzenghui@huawei.com>
Reviewed-by: Anshuman Khandual <anshuman.khandual@arm.com>
Link: https://lore.kernel.org/r/20240810093944.2587809-1-yuehaibing@huawei.com
Signed-off-by: Will Deacon <will@kernel.org>
arch/arm64/include/asm/fpsimd.h

index bc69ac368d73b1b4db5abc0091d0747ad9c0531b..f2a84efc361858d4deda99faf1967cc7cac386c1 100644 (file)
@@ -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