Skip to content

Commit 93b81ab

Browse files
Yue Haibingwilldeacon
authored andcommitted
arm64/sve: Remove unused declaration read_smcr_features()
Commit 3912084 ("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>
1 parent 4960f9a commit 93b81ab

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

arch/arm64/include/asm/fpsimd.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -155,8 +155,6 @@ extern void cpu_enable_sme2(const struct arm64_cpu_capabilities *__unused);
155155
extern void cpu_enable_fa64(const struct arm64_cpu_capabilities *__unused);
156156
extern void cpu_enable_fpmr(const struct arm64_cpu_capabilities *__unused);
157157

158-
extern u64 read_smcr_features(void);
159-
160158
/*
161159
* Helpers to translate bit indices in sve_vq_map to VQ values (and
162160
* vice versa). This allows find_next_bit() to be used to find the

0 commit comments

Comments
 (0)